Prepare for release

This commit is contained in:
Martin Dahl 2023-12-11 15:25:30 +01:00
parent 4e546cda63
commit 01c5d4b626
3 changed files with 7 additions and 3 deletions

View File

@ -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.
@ -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>

View File

@ -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/

View File

@ -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();