WG: [CMake] Strange results from modifying CMAKE_CXX_FLAGS
Sören Freudiger
muffmolch at gmx.de
Tue Sep 27 02:59:56 EDT 2005
Hi Jon,
try this instead:
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -symbolic")
Remember:
SET(VAR a b) leads to: a;b
SET var "a b") results in: a b
SirAnn
-----Ursprüngliche Nachricht-----
Von: cmake-bounces+muffmolch=gmx.de at cmake.org
[mailto:cmake-bounces+muffmolch=gmx.de at cmake.org] Im Auftrag von
j.trauntvein at comcast.net
Gesendet: Montag, 26. September 2005 23:31
An: CMake at cmake.org
Betreff: [CMake] Strange results from modifying CMAKE_CXX_FLAGS
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
_______________________________________________
CMake mailing list
CMake at cmake.org
http://www.cmake.org/mailman/listinfo/cmake
More information about the CMake
mailing list