When you say it doesn&#39;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 &quot;:STRING&quot;):<br>&quot;-DCMAKE_CXX_FLAGS:STRING=-pedantic -g3 -O0&quot;<br><br><br>HTH,<br>David<br><br><br><div class="gmail_quote">
On Mon, Apr 21, 2008 at 5:16 AM, Andreas Pakulat &lt;<a href="mailto:apaku@gmx.de">apaku@gmx.de</a>&gt; 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>
&gt; Try quoting the whole thing:<br>
&gt; cmake &quot;-DCMAKE_CXX_FLAGS=-pedantic -g3 -O0&quot;<br>
<br>
</div>Doesn&#39;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>