Ok thank you<br><br><div class="gmail_quote">2009/9/17 Tyler Roscoe <span dir="ltr">&lt;<a href="mailto:tyler@cryptio.net">tyler@cryptio.net</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Thu, Sep 17, 2009 at 07:55:29AM +0200, Xavier Larrodé wrote:<br>
&gt; On linux i always use the command CMAKE_BUILD_TYPE to set the binary dir.<br>
&gt; But on windows, even if a project is set with cmake as Build Debug, it<br>
&gt; generates the Release cmake project too.<br>
<br>
</div>In Visual Studio and other IDEs, the user picks which configuration to<br>
build from a drop-down, so you can&#39;t know which thing you&#39;re going to<br>
build at CMake ime. It&#39;s a huge pain in the butt for build development<br>
(though quite useful for IDE users).<br>
<br>
Some things that help a lot are:<br>
<br>
- CMAKE_CFG_INTDIR, which basically resolves to $(OutDir) in VS. Check<br>
  the docs for more details.<br>
<br>
- Most of the key properties (COMPILE_DEFINITION, LINK_FLAGS) have<br>
  _DEBUG and _RELEASE variants that are applied only to those build<br>
  configs.<br>
<br>
Poke around in the archives with some of those keywords to see more<br>
examples.<br>
<font color="#888888"><br>
tyler<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Xavier Larrodé<br> Ingenieur expert GVT<br><a href="http://www.gvt-nexter.fr">http://www.gvt-nexter.fr</a><br> <a href="mailto:xlarrode@gmail.com">xlarrode@gmail.com</a>     _______________________<br>
12 Rue de la Vallée<br>1050 Ixelles<br>+32 (0)2 648 71 04<br>Belgique<br>