Skip to content

Commit

Permalink
Update external project example to release 1.22.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamshapiro0 committed Nov 1, 2023
1 parent 8e5aae1 commit 4acbbaa
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ include(FetchContent)
FetchContent_Declare(
fusion_engine_client
# Recommended:
URL https://github.com/PointOneNav/fusion-engine-client/archive/refs/tags/v1.16.0.zip
URL_HASH MD5=3d35c1c56e111d2e9a164cdbf7878228
# Alternative:
URL https://github.com/PointOneNav/fusion-engine-client/archive/refs/tags/v1.22.3.zip
URL_HASH MD5=cfe1de319725822a1b825cd3421fb6b1
# Alternatively:
# GIT_REPOSITORY https://github.com/PointOneNav/fusion-engine-client.git
# GIT_TAG v1.16.0
# GIT_TAG v1.22.3
)
set(P1_FE_BUILD_EXAMPLES OFF CACHE INTERNAL "")
FetchContent_MakeAvailable(fusion_engine_client)
Expand All @@ -114,7 +114,7 @@ target_link_libraries(example_app PUBLIC fusion_engine_client)
```

Note that we strongly recommend using a specific version of the library in your code by specifying a release zip file or
a git tag (e.g., `GIT_TAG v1.15.2`), and updating that as new versions are released. That way, you can be sure that your
a git tag (e.g., `GIT_TAG vA.B.C`), and updating that as new versions are released. That way, you can be sure that your
code is always built with a known version of fusion-engine-client. If you prefer, however, you can tell CMake to track
the latest changes by using `GIT_TAG master` instead.

Expand Down Expand Up @@ -168,12 +168,12 @@ To use this library in an existing Bazel project, add the following to your proj
git_repository(
name = "fusion_engine_client",
remote = "[email protected]:PointOneNav/fusion_engine_client.git",
tag = "v1.15.2",
tag = "v1.22.3",
)
```

Note that we strongly recommend using a specific version of the library in your code by specifying a git tag (e.g.,
`tag = "v1.15.2"`), and updating that as new versions are released. That way, you can be sure that your code is always
`tag = "v1.22.3"`), and updating that as new versions are released. That way, you can be sure that your code is always
built with a known version of fusion-engine-client. If you prefer, however, you can tell Bazel to track the latest
changes by using `branch = "master"` instead.

Expand Down
8 changes: 4 additions & 4 deletions examples/external_cmake_project/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ project(fusion_engine_usage_example C CXX)
# Use FetchContent to import the fusion-engine-client C++ library using Git.
#
# Note that we always recommend using a specific version of the library in your
# code by specifying a release zip file or a git tag (e.g., `GIT_TAG v1.15.2`),
# code by specifying a release zip file or a git tag (e.g., `GIT_TAG vA.B.C`),
# and updating that as new versions are released. That way, you can be sure that
# your code is always built with a known version of fusion-engine-client. If you
# prefer, however, you can set the GIT_TAG to track the latest changes by
Expand All @@ -39,11 +39,11 @@ include(FetchContent)
FetchContent_Declare(
fusion_engine_client
# Recommended:
URL https://github.com/PointOneNav/fusion-engine-client/archive/refs/tags/v1.16.0.zip
URL_HASH MD5=3d35c1c56e111d2e9a164cdbf7878228
URL https://github.com/PointOneNav/fusion-engine-client/archive/refs/tags/v1.22.3.zip
URL_HASH MD5=cfe1de319725822a1b825cd3421fb6b1
# Or alternatively:
# GIT_REPOSITORY https://github.com/PointOneNav/fusion-engine-client.git
# GIT_TAG v1.16.0
# GIT_TAG v1.22.3
)
set(P1_FE_BUILD_EXAMPLES OFF CACHE INTERNAL "")
FetchContent_MakeAvailable(fusion_engine_client)
Expand Down

0 comments on commit 4acbbaa

Please sign in to comment.