Skip to content

Commit

Permalink
Prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
m-dahl committed Dec 11, 2023
1 parent 4e546cd commit 01c5d4b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ These bindings are being written organically when things are needed by me and ot
How to use
--------------------
1. Make sure you have libclang installed. (e.g. libclang-dev on ubuntu)
2. Depend on this package in Cargo.toml: `r2r = "0.8.1"`
2. Depend on this package in Cargo.toml: `r2r = "0.8.2"`
3. You need to source your ROS2 installation before building/running.
4. The bindings will rebuild automatically if/when you source your workspace(s).
5. If you make changes to existing message types, run `cargo clean -p r2r_msg_gen` to force recompilation of the rust message types on the next build.
Expand Down Expand Up @@ -46,6 +46,9 @@ Changelog
--------------------
#### [Unreleased]

#### [0.8.2] - 2023-12-11
- Fix include path regression on linux. <https://github.com/sequenceplanner/r2r/pull/71>

#### [0.8.1] - 2023-11-30
- Fix regression when building with colcon/cmake. <https://github.com/sequenceplanner/r2r/commit/7fc96e3eb2fd9f7f272258e07204041aeecfba76>

Expand Down
2 changes: 1 addition & 1 deletion r2r_cargo.cmake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# For r2r 0.8.1.
# For r2r 0.8.2.
#
# cmake code for simple colcon integration.
# See https://github.com/m-dahl/r2r_minimal_node/
Expand Down
3 changes: 2 additions & 1 deletion r2r_common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ pub fn setup_bindgen_builder() -> bindgen::Builder {
});
if !cfg!(feature = "doc-only") {
if let Ok(cmake_includes) = env::var("CMAKE_INCLUDE_DIRS") {
// we are running from cmake, do special thing.
// note, this is a colon on both windows and linux, it is set
// in r2r_cargo.cmake
let mut includes = cmake_includes.split(':').collect::<Vec<_>>();
includes.sort_unstable();
includes.dedup();
Expand Down

0 comments on commit 01c5d4b

Please sign in to comment.