catkin build with cmake file and flags
Hi,
I have many packages that rely on each other. With "catkin build", all packages are compiled and linked in the right order. Now I have two questions:
If I add some CMAKE_CXX_FLAGS arguments in the CMakeLists.txt file of the top-level package, are these flags used for all other packages that are included by this top-level package?
Is it possible to append a "my_config.cmake" file to the "catkin build" command that is used for the whole compilation? It should just set some CMAKE_CXX_FLAGS arguments for all packages.
Thanks in advance!
inspire
a bit of a non-question, as you should not edit the
catkin_ws/src/CMakeLists.txt
file.I mean the top-level package. That one that holds the main function...