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 CMAKECXXFLAGS 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 "myconfig.cmake" file to the "catkin build" command that is used for the whole compilation? It should just set some CMAKECXX_FLAGS arguments for all packages.
Thanks in advance!
inspire
Asked by inspire on 2017-05-03 09:27:36 UTC
Comments
a bit of a non-question, as you should not edit the
catkin_ws/src/CMakeLists.txt
file.Asked by gvdhoorn on 2017-05-03 09:54:34 UTC
I mean the top-level package. That one that holds the main function...
Asked by inspire on 2017-05-03 10:30:23 UTC