ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

catkin and CMAKE_CXX_FLAGS_DEBUG

asked 2015-11-29 20:13:33 -0500

demmeln gravatar image

Should I be able to set CMAKE_CXX_FLAGS_DEBUG or the variants for the other build types in my CMakeLists.txt for caktin packages? It seems to have no effect. Setting CMAKE_CXX_FLAGS seems to work, but I want to set different defines depending on the build type.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-11-29 20:36:36 -0500

demmeln gravatar image

Yes, it does actually seem to work if you have no typo in -DCMAKE_BUILD_TYPE=Debug...

edit flag offensive delete link more

Question Tools

Stats

Asked: 2015-11-29 20:13:33 -0500

Seen: 3,063 times

Last updated: Nov 29 '15