I will see if I can find / figure out what I did to make this work -- I know I&#39;ve done it before to eliminate all but one config type...<div><br class="webkit-block-placeholder"></div><div>How about this in the CMakeLists.txt
 file instead? (Force it into the cache rather than using a simple set.)</div><div>SET(CMAKE_CONFIGURATION_TYPES &quot;Debug;Release&quot; CACHE STRING &quot;limited configs&quot; FORCE)<br><br>&nbsp;</div><div>Maybe?</div><div>
David</div><div><br class="webkit-block-placeholder"></div><div><br><div><span class="gmail_quote">On 12/20/07, <b class="gmail_sendername">Josef Karthauser</b> &lt;<a href="mailto:joe.karthauser@geomerics.com">joe.karthauser@geomerics.com
</a>&gt; wrote:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">









<div lang="EN-GB" link="blue" vlink="purple">

<div>

<p><span style="font-size:11.0pt;color:#1F497D">Yeah, that's a pain.&nbsp; I recently submitted a bug fix which
allows configurations other than these stock four to be used, however sometimes
these stock four get added in addition, and sometimes they're not.&nbsp; I've not
managed to determine where or why.</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">&nbsp;</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">It's my understanding that the MSVC configuration type stuff has
a few too many assumptions in the code, and is probably due a complete overhaul
at some point.&nbsp; Maybe that's already been done for the next major release?</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">&nbsp;</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">Joe</span></p>

<p><span style="font-size:11.0pt;color:#1F497D">&nbsp;</span></p>

<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">

<div>

<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">

<p><b><span lang="EN-US" style="font-size:10.0pt">From:</span></b><span lang="EN-US" style="font-size:10.0pt"> cmake-bounces+joe.karthauser=<a href="mailto:geomerics.com@cmake.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
geomerics.com@cmake.org</a>
[mailto:<a href="mailto:cmake-bounces+joe.karthauser=geomerics.com@cmake.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">cmake-bounces+joe.karthauser=geomerics.com@cmake.org</a>] <b>On Behalf Of 
</b>Torsten
Martinsen<br>
<b>Sent:</b> 20 December 2007 08:11<br>
<b>To:</b> David Cole<br>
<b>Cc:</b> <a href="mailto:cmake@cmake.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">cmake@cmake.org</a><br>
<b>Subject:</b> RE: [CMake] MSVC turn off RelWithDebInfo and MinSizeRel</span></p>

</div>

</div><div><span class="e" id="q_116f6c9cb624ed76_1">

<p>&nbsp;</p>

<p><span style="font-size:10.0pt;color:blue">Unfortunately, this does not work. I just tried adding</span></p>

<p>&nbsp;</p>

<p><span style="font-size:10.0pt;color:blue">&nbsp;&nbsp;&nbsp; SET(CMAKE_CONFIGURATION_TYPES
&quot;Debug;RelWithDebInfo&quot;)</span></p>

<p><span style="font-size:10.0pt;color:blue">at the top of my CMakeLists.txt, then deleted my build tree and ran
cmake. The generated project files still contain Debug, Release, MinSizeRel and
RelWithDebInfo.</span></p>

<p>&nbsp;</p>

<p><span style="font-size:10.0pt;color:blue">-Torsten</span></p>

<p>&nbsp;</p>

<div align="center" style="text-align:center"><span lang="EN-US">

<hr size="2" width="100%" align="center">

</span></div>

<p style="margin-bottom:12.0pt"><b><span lang="EN-US" style="font-size:10.0pt">From:</span></b><span lang="EN-US" style="font-size:10.0pt">
cmake-bounces+tma=<a href="mailto:gatehouse.dk@cmake.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">gatehouse.dk@cmake.org</a>
[mailto:<a href="mailto:cmake-bounces+tma=gatehouse.dk@cmake.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">cmake-bounces+tma=gatehouse.dk@cmake.org</a>] <b>On Behalf Of </b>David
Cole<br>
<b>Sent:</b> 20 December 2007 01:32<br>
<b>To:</b> Jesse Corrington<br>
<b>Cc:</b> <a href="mailto:cmake@cmake.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">cmake@cmake.org</a><br>
<b>Subject:</b> Re: [CMake] MSVC turn off RelWithDebInfo and MinSizeRel</span><span lang="EN-US"></span></p>

<p style="margin-bottom:12.0pt">SET(CMAKE_CONFIGURATION_TYPES
&quot;Debug;Release&quot;)<br>
<br>
in your CMakeLists.txt. (Or just edit that value in CMakeSetup to change it in
the cache.)<br>
<br>
If you do it with a simple set in the CMakeLists.txt then you will not see that
reflected in the CMakeSetup GUI, but it will be in effect at generation time
and you should end up with sln/vcproj files with just the two types. <br>
<br>
HTH,<br>
David<br>
<br>
</p>

<div>

<p><span>On 12/19/07, <b>Jesse Corrington</b>
&lt;<a href="mailto:jesse.corrington@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jesse.corrington@gmail.com</a>&gt;
wrote:</span> </p>

<p>Is there anyway to have CMake not generate these two
configurations, and just generate the standard release and debug configurations
instead? Thanks. </p>

</div>

<p>&nbsp;</p>

<div align="center" style="text-align:center">

<hr size="2" width="100%" align="center">

</div>

<p><span style="font-size:7.5pt;color:gray">This e-mail and any files sent with it contain information that may
be privileged or confidential and is the property of the GateHouse Group. This
information is intended solely for the person to whom it is addressed. If you
are not the intended recipient, you are not authorized to read, print, retain,
copy, disseminate, distribute, or use the message or any part thereof. If you have
received this e-mail in error, please notify the sender immediately, and delete
all copies of this message. In accordance with GateHouse Security Policy,
e-mails sent or received may be monitored.</span></p>

</span></div></div>

</div>

</div>


</blockquote></div><br>&nbsp;</div>