[CMake] Strange results from modifying CMAKE_CXX_FLAGS

j.trauntvein at comcast.net j.trauntvein at comcast.net
Mon Sep 26 17:31:27 EDT 2005


I have been playing with modifying the CMAKE_CXX_FLAGS variable using the following SET command:

  SET(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -symbolic)

The result of this as seen in the Makefile is that the -symbolic option is included but is preceded by a semi-colon which completely messes up g++.  Is my approach wrong?  My version of cmake is 2.0.6.

Regards,

Jon Trauntvein


More information about the CMake mailing list