From 01c5d4b626d13723684879a7b247728379286c9f Mon Sep 17 00:00:00 2001 From: Martin Dahl Date: Mon, 11 Dec 2023 15:25:30 +0100 Subject: [PATCH] Prepare for release --- README.md | 5 ++++- r2r_cargo.cmake | 2 +- r2r_common/src/lib.rs | 3 ++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 12df6ab10..83f9f5e2c 100644 --- a/README.md +++ b/README.md @@ -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. + #### [0.8.1] - 2023-11-30 - Fix regression when building with colcon/cmake. diff --git a/r2r_cargo.cmake b/r2r_cargo.cmake index 878af2fd4..5edea45fa 100644 --- a/r2r_cargo.cmake +++ b/r2r_cargo.cmake @@ -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/ diff --git a/r2r_common/src/lib.rs b/r2r_common/src/lib.rs index be6e57acd..f97d59c78 100644 --- a/r2r_common/src/lib.rs +++ b/r2r_common/src/lib.rs @@ -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::>(); includes.sort_unstable(); includes.dedup();