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

Added a new cmake_build for generating a debian #855

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

tarunkartik
Copy link

If you want to generate a standalone behaviortree_cpp debian that you can install and link your project against,

  • Clone the BehaviorTreee.CPP repo
  • cd into the cloned repo
  • run the following commands:
cmake -S . -B build -DCMAKE_BUILD=ON
cmake --build build/ -j{Number_of_cores} --target package

Replace {Number_of_cores} with how many cores you would like to use to build.

  • If built succesfully, it should generate a .deb file inside the build folder.
  • You can install this debian in any container or environment using apt install /path/to/.deb

@tarunkartik tarunkartik marked this pull request as draft August 5, 2024 22:16
@tarunkartik tarunkartik marked this pull request as ready for review August 5, 2024 22:17
@tarunkartik tarunkartik changed the title WIP: Added a new cmake_build for generating a debian Added a new cmake_build for generating a debian Aug 5, 2024
@tarunkartik
Copy link
Author

@facontidavide is there something blocking this merge or is this a feature that you dont foresee people using?

@facontidavide
Copy link
Collaborator

Is this change tested on Windows? We don't want to break it there

@tarunkartik
Copy link
Author

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?

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.

3 participants