- Notifications
You must be signed in to change notification settings - Fork778
Added a new cmake_build for generating a debian#855
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:master
Are you sure you want to change the base?
Added a new cmake_build for generating a debian#855
Uh oh!
There was an error while loading.Please reload this page.
Conversation
@facontidavide is there something blocking this merge or is this a feature that you dont foresee people using? |
Is this change tested on Windows? We don't want to break it there |
I have not tested it on windows. I can do that. It looks like the repo already has a pipeline to test against windows. Are there any instructions on how to trigger them? |
| option(BTCPP_UNIT_TESTS"Build the unit tests"ON) | ||
| option(BTCPP_GROOT_INTERFACE"Add Groot2 connection. Requires ZeroMQ"ON) | ||
| option(BTCPP_SQLITE_LOGGING"Add SQLite logging."ON) | ||
| option(CMAKE_BUILD"Build using CMAKE"OFF) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
what is the purpose of adding this? Shouldn't it be the default ON?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
The intent is that the users would turn this ON only when they need standalone debians that do not depend on ROS (catkin/ament). That was my requirement for a project I have been working on where I am using BTCPP with a custom RTOS.
Maybe the variable could be named 'GENERATE_DEBS' instead of 'CMAKE_BUILD', if that makes it clearer?
If you want to generate a standalone behaviortree_cpp debian that you can install and link your project against,
Replace {Number_of_cores} with how many cores you would like to use to build.
.debfile inside the build folder.apt install /path/to/.deb