[Cmake] File and compiler specific flags?

William A. Hoffman bill . hoffman at kitware . com
Sun, 19 Aug 2001 17:48:40 -0400

I am using the following in Insight:

>At 17/08/2001 17:57, Bill Hoffman wrote:
>>You guessed it:
>>         SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ftemplate-depth-50")
>I's working, but there is a slight problem anyway : the new 
>CMAKE_CXX_FLAGS value does not make its way to the cache, although the 
>original value has the following syntax (here, for Windows) :

It does work, it does not show up in the cache, but is in the makefile and 
is inherited so it makes
it into the entire build below the the CMakeLists.txt the has the above