Hi,
How to add compile definition with string variable, for example
-DFOO="bar" in rosbuild_add_compile_flags?
I tried
set(COMPILE_FLAGS "-O2 -DFOO=\"bar\")
rosbuild_add_compile_flags(hoge ${COMPILE_FLAGS})
but, this did not works well, it seems compile with
gcc -O2 -DFOO=bar.
Thanks
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
ros-users mailing list
ros-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ros-users