You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After I build the generator, I want to make it available on my system so CMake can find it with find_program(microxrceddsgen REQUIRED), or I can use the CLI from anywhere without having to find the path to microxrceddsgen
What do you think adding a section just after install to make the binary available on PATH so you can call the generator from anywhere, or use it in other build systems?
Add this to ~/.bashrc to make microxrceddsgen available for use anywhere on your system. Customize the path to where
export PATH=$PATH:/your/path/to/Micro-XRCE-DDS-Gen/scripts
On things to take into account is the build result structure. We need the scripts directory and the share one's and share should be a the same level as scripts.
After I build the generator, I want to make it available on my system so CMake can find it with
find_program(microxrceddsgen REQUIRED)
, or I can use the CLI from anywhere without having to find the path tomicroxrceddsgen
What do you think adding a section just after install to make the binary available on PATH so you can call the generator from anywhere, or use it in other build systems?
In FastDDSGen, it already has a note on it here.
I propose to be more explicit
Another approach would be to set up some sort of
install
task for the gradle build to install the binary in system headers.https://docs.gradle.org/current/samples/sample_building_cpp_applications.html#build_the_application
I'm not familiar with Gradle, but maybe that's another approach.
The text was updated successfully, but these errors were encountered: