Skip to content

Commit

Permalink
Merge pull request #10 from braxtons12/update_usage_docs
Browse files Browse the repository at this point in the history
Update usage docs
  • Loading branch information
braxtons12 authored Mar 6, 2024
2 parents 2ce1f9c + 343d5b1 commit bc82b83
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ endif()
if(${HYPERION_USE_FETCH_CONTENT})
FetchContent_Declare(hyperion_platform
GIT_REPOSITORY "https://github.com/braxtons12/hyperion_platform"
GIT_TAG "origin/main"
GIT_TAG "v0.2.2"
)
FetchContent_MakeAvailable(hyperion_platform)
else()
Expand Down
11 changes: 5 additions & 6 deletions docs/quick_start.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ other methods like :cmake:`add_subdirectory`\. Example for :cmake:`FetchContent`
# Declare the dependency on hyperion-utils and make it available for use
FetchContent_Declare(hyperion_mpl
GIT_REPOSITORY "https://github.com/braxtons12/hyperion_mpl"
GIT_TAG "origin/main")
GIT_TAG "v0.7.1")
FetchContent_MakeAvailable(hyperion_mpl)
# For this example, we create an executable target and link hyperion::mpl to it
Expand Down Expand Up @@ -56,16 +56,15 @@ way to use Hyperion packages. Example:
-- add hyperion_mpl as a required dependency for the project
add_requires("hyperion_mpl", {
-- Don't verify the git commit. This is necessary because hyperion::mpl hasn't reached
-- an official release yet, and thus doesn't have a stable git commit to track.
-- This allows pulling directly from $HEAD
verify = false,
system = false,
external = true,
})
-- For this example, we create an executable target and link hyperion::mpl to it
target("my_executable")
target("my_executable", function()
set_kind("binary")
add_packages("hyperion_mpl")
end)
Note that with XMake, hyperion::mpl requires the same dependencies as with the CMake build system.
Third-party dependencies will be pulled from xmake-repo, the package repository/registry for XMake,
Expand Down
2 changes: 1 addition & 1 deletion xmake.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---@diagnostic disable: undefined-global,undefined-field
set_project("hyperion_mpl")
set_version("0.7.0")
set_version("0.7.1")

set_xmakever("2.8.7")

Expand Down

0 comments on commit bc82b83

Please sign in to comment.