BehaviorTree.CPP icon indicating copy to clipboard operation
BehaviorTree.CPP copied to clipboard

Added a new cmake_build for generating a debian

Open tarunkartik opened this issue 1 year ago • 3 comments

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 avatar Aug 05 '24 22:08 tarunkartik

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

tarunkartik avatar Sep 10 '24 19:09 tarunkartik

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

facontidavide avatar Sep 21 '24 10:09 facontidavide

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?

tarunkartik avatar Sep 23 '24 15:09 tarunkartik