<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 5, 2014 at 4:19 PM, Richard <span dir="ltr"><<a href="mailto:legalize@xmission.com" target="_blank">legalize@xmission.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In article <<a href="mailto:CAAiZkiBftmmwAu_2hE21SN3heyB4NffosM9mNeJyU46_v%2BOciA@mail.gmail.com">CAAiZkiBftmmwAu_2hE21SN3heyB4NffosM9mNeJyU46_v+OciA@mail.gmail.com</a>>,<br>

<div class="">    Gabriel Dos Reis <<a href="mailto:gdr@integrable-solutions.net">gdr@integrable-solutions.net</a>> writes:<br>
<br>
</div><div class="">> The problem was that I expected after running cmake with<br>
> -DCMAKE_BUILD_TYPE=Release to have the project files generated only for a<br>
> Release build type.  It turns out CMake does not do that.<br>
<br>
</div>Actually, it *would* do this if you were generating a Makefile. </blockquote><div><br></div><div>Exactly; hence my original expectations for the project files.</div><div><br></div><div>A "portable" tool with non-portable semantics for exactly the same input is how we create confusions in the C and C++ lands :-)</div>
<div><br></div><div>Hopefully Yaron's amendment to the docs will go live at some point.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 As I<br>
understand it, the Makefiles generated by CMake don't allow for building<br>
multiple configurations from the same Makefile.  You either generate a<br>
Release Makefile or a Debug Makefile.<br></blockquote><div><br></div><div>If it was going to do that (which it does), at least it should be setting the default configuration to what is specified on the command line.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
VS (and probably Xcode) projects support multiple configurations from<br>
the same generated project, so CMake generates all the configurations.</blockquote><div><br></div><div>I have nothing against generating several configuration in the same project file; however, the default (configuration) should match what is specified. </div>
</div></div></div>