Try quoting the whole thing:<br>cmake "-DCMAKE_CXX_FLAGS=-pedantic -g3 -O0"<br><br><br><div class="gmail_quote">On Thu, Apr 17, 2008 at 6:05 AM, Pau Garcia i Quiles <<a href="mailto:pgquiles@elpauer.org">pgquiles@elpauer.org</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">Quoting Andreas Pakulat <<a href="mailto:apaku@gmx.de" target="_blank">apaku@gmx.de</a>>:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<br>
trying to execute<br>
<br>
cmake -DCMAKE_CXX_FLAGS="-pedantic -g3 -O0"<br>
<br>
doesn't work. The CMake cache only contains the last one, -O0, in that<br>
case. This is with cmake 2.6 rc7, not sure wether this works in 2.4 and I<br>
can't test before next week.<br>
<br>
Anybody else seeing that, especially with newer rc's? (I can't update<br>
cmake either until sunday).<br>
</blockquote>
<br></div>
Works for me with 2.4.8<br><font color="#888888">
<br>
<br>
-- <br>
Pau Garcia i Quiles<br>
<a href="http://www.elpauer.org" target="_blank">http://www.elpauer.org</a><br>
(Due to my workload, I may need 10 days to answer)</font><div><div></div><div class="Wj3C7c"><br>
<br>
_______________________________________________<br>
CMake mailing list<br>
<a href="mailto:CMake@cmake.org" target="_blank">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>