[CMake] CMake doesn't accept multiple entries for a variable on the commandline

Andreas Pakulat apaku at gmx.de
Thu Apr 17 02:34:06 EDT 2008


Hi,

trying to execute

cmake -DCMAKE_CXX_FLAGS="-pedantic -g3 -O0" 

doesn't work. The CMake cache only contains the last one, -O0, in that
case. This is with cmake 2.6 rc7, not sure wether this works in 2.4 and I
can't test before next week.

Anybody else seeing that, especially with newer rc's? (I can't update
cmake either until sunday).

Andreas

-- 
Expect a letter from a friend who will ask a favor of you.


More information about the CMake mailing list