<div>yes i do have read that.</div>
<div>it's why i've tried CMAKE_CXX_FLAGS_<config>. (<config> for DEBUG and RELEASE).</div>
<div>but that have no effect on MSVC flags.</div>
<div>(on Unix after fixing the build type first, the CMAKE_CXX_FLAGS_<config> works but not on windows!)</div>
<div> </div>
<div>Ingrid<br><br></div>
<div class="gmail_quote">2008/6/18 Eric Noulard <<a href="mailto:eric.noulard@gmail.com">eric.noulard@gmail.com</a>>:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">2008/6/18 Ingrid Kemgoum <<a href="mailto:ingrid.kemgoum@gmail.com">ingrid.kemgoum@gmail.com</a>>:<br>
<div>
<div></div>
<div class="Wj3C7c">> hi,<br>> i'm using cmake 2.6 for MSVC2005 and Linux.<br>> As there is LINK_FLAGS_<config>, is there a way to have different compile<br>> flags for debug and release?<br>> i've tried CMAKE_CXX_FLAGS_<config>, COMPILE_FLAGS_<config>,... this to say<br>
> any combinaison but none works.<br><br></div></div>Did you read this?:<br><br><a href="http://www.cmake.org/Wiki/CMake_Useful_Variables#Compilers_and_Tools" target="_blank">http://www.cmake.org/Wiki/CMake_Useful_Variables#Compilers_and_Tools</a><br>
<font color="#888888">--<br>Erk<br></font></blockquote></div><br>