Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ZENOHC_CUSTOM_TARGET to ament_vendor call #272

Merged
merged 1 commit into from
Aug 28, 2024
Merged

Add ZENOHC_CUSTOM_TARGET to ament_vendor call #272

merged 1 commit into from
Aug 28, 2024

Conversation

jmount-boss
Copy link
Contributor

Added ZENOHC_CUSTOM_TARGET flag to be parsed through to ament_vendor cmake function "building" zenoh_c_vendor package. This allows for cross-compilation of the zenoh_c_vendor package as outlined in zenoh_c documentation.

See Associated Issue for full details: #270

Can now call, for example, colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release -DZENOHC_CUSTOM_TARGET=arm-unknown-linux-gnueabi to build for arm, without requiring manual edits of CMakeLists.txt file.

@ahcorde ahcorde merged commit ff7e46c into ros2:rolling Aug 28, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants