When you say it doesn't work, is it because you do not see the value in the cache editor or in your CMakeCache.txt file or is it because the flags are not used in the make files...?<br><br>Do you have any code in any CMakeLists.txt files that manipulate the CMAKE_CXX_FLAGS variable?<br>
<br>If you want to see the value in the cache, you need to give it a type as well (the ":STRING"):<br>"-DCMAKE_CXX_FLAGS:STRING=-pedantic -g3 -O0"<br><br><br>HTH,<br>David<br><br><br><div class="gmail_quote">
On Mon, Apr 21, 2008 at 5:16 AM, Andreas Pakulat <<a href="mailto:apaku@gmx.de">apaku@gmx.de</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On 17.04.08 07:03:32, David Cole wrote:<br>
> Try quoting the whole thing:<br>
> cmake "-DCMAKE_CXX_FLAGS=-pedantic -g3 -O0"<br>
<br>
</div>Doesn't work either. Shall I open a bugreport?<br>
<br>
Andreas<br>
<font color="#888888"><br>
--<br>
You are the only person to ever get this message.<br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<br>
CMake mailing list<br>
<a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></div></blockquote></div><br>