Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 417

CMake: How to compile each node with a specific flag

$
0
0
I think this is really a CMake question. Let's say I want to compile the source for node 1, 2 and 3 with -pthread, -O3 and -Os flags respectively. How should I specify this in `CMakeLists.txt` and/or `catkin_make` command?

Viewing all articles
Browse latest Browse all 417

Trending Articles