Hallo again. On 8/30/11, Marcus Fritzsch <frits...@googlemail.com> wrote: > [...] > % cmake "-DCMAKE_CXX_FLAGS=-O3 -march=native" .. > ... > % grep "CXX_FLAGS=" CMakeCache.txt > CMAKE_CXX_FLAGS=-O3 -march:UNINITIALIZED=native
Having done some more tests, it looks like when searching the '=' to add the type information to the option is doing a search from the back of the string: % cmake "-DCMAKE_CXX_FLAGS=-a -one=1 -two=2" .. ... % grep CXX_FLAGS= CMakeCache.txt CMAKE_CXX_FLAGS=-a -one=1 -two:UNINITIALIZED=2 Cheers, Marcus _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake