config: Package-specific make/cmake arguments
See original GitHub issueIt would be great to be able to specify make and cmake arguments on a per-package basis. For example, I always build bullet with cmake arguments -DBUILD_SHARED_LIBS=ON
and -DUSE_DOUBLE_PRECISION=ON
. I currently just send those variables to all packages in my workspace, which has worked so far, but it’s not a robust solution.
It would also be great if these arguments could be remembered in the configuration file, so I don’t have to specify them all the time when I do catkin build
.
Issue Analytics
- State:
- Created 8 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
cmake28(1) - Linux man page
The "cmake" executable is the CMake command-line interface. It may be used to configure projects in scripts. Project configuration settings may be specified ......
Read more >build - Build Packages — colcon documentation
CMake specific arguments Pass arbitrary arguments to CMake projects. Arguments matching other options must be prefixed by a space, e.g. --cmake-args " --help" ......
Read more >Cross Platform Make - CMake
CMake is a cross-platform, open-source build system. CMake is part of a family of tools designed to build, test and package software.
Read more >A universal build tool - ROS 2 Design
Just enough in order to know how to setup the environment for it, ... Examples are Make , CMake , Python setuptools ,...
Read more >Ubuntu Manpage: cpack - Packaging driver provided by CMake.
When loading a find module or package configuration file find_package defines variables to provide information about the call arguments (and restores their ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The CLI interface could be:
It could look like this when you view the config summary:
Would you mind sharing the syntax for this in colcon? I can’t seem to find it here