[Cmake] CMake SET + CMakeCache.txt
Bitter, Ingmar (NIH/CC/DRD)
IBitter at cc.nih.gov
Mon Apr 7 08:01:15 EDT 2003
Append by initializing with old value + new flags:
Set (CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} "-O2 -someOtherNewFlag")
-Ingmar
-----Original Message-----
From: Neil Killeen [mailto:Neil.Killeen at atnf.csiro.au]
Sent: Sunday, April 06, 2003 11:56 PM
To: Brad King
Cc: Neil Killeen; CMake
Subject: Re: [Cmake] CMake SET + CMakeCache.txt
I am looking for a mechanism for use in a CMakeLists.txt file by which I
can APPEND to- rather than INITIALIZE- the contents of a cmake variable,
in this case CMAKE_CXX_FLAGS so that when I run ccmake, what I appended and
what was already there will appear.
More information about the CMake
mailing list