<div>Josef,</div>
<div>&nbsp;</div>
<div>I think you want to add a build type <a href="http://www.cmake.org/Wiki/CMake_Useful_Variables">http://www.cmake.org/Wiki/CMake_Useful_Variables</a>&nbsp;see the comments under CMAKE_BUILD_TYPE.&nbsp; <br>&nbsp;</div>
<div>I&#39;ve used the following to remove the extra configurations that cmake makes by default that I didn&#39;t want in my project files.</div><font size="2">
<div>SET( CMAKE_CONFIGURATION_TYPES &quot;Debug;Release&quot; CACHE STRING &quot;Only do Release and Debug&quot; FORCE )</div>
<div>MARK_AS_ADVANCED(CMAKE_CONFIGURATION_TYPES)</div>
<div>&nbsp;</div>
<div>-Neal</div>
<p>&nbsp;</p></font>
<div><span class="gmail_quote">On 9/27/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="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><br><br>&gt; &gt; &gt; Also, does cmake have an idea of platforms, or does it assume<br>Win32?<br>&gt; &gt;
<br>&gt; &gt; CMake does not assume anything about Win32 or any other platform.<br>&gt;<br>&gt; What I mean is, in vcproj files combine the configuration and the<br>&gt; platform<br>&gt; labels to form a compilation target, 
i.e Release|Win32, Debug|x64.<br>&gt;<br>&gt; How do I go about specifying the platform parts of these with cmake?<br>&gt; For example, I say I have &#39;Release&#39;, &#39;Debug&#39;, and &#39;Special&#39;<br>&gt; configurations, and Win32 and x64 platforms.&nbsp;&nbsp;Now suppose that I only
<br>&gt; support the following configurations:<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Release|Win32<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Release|x64<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Debug|Win32<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Debug|x64<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Special|x64<br>&gt;<br>&gt; How do I go about specifying that to cmake?
<br>&gt;<br><br>Answering my own question, after a bit of research, it appears that<br>cmake doesn&#39;t natively deal with cross-platform building for Visual<br>Studio Projects.&nbsp;&nbsp;Instead it tests to see whether to generate Win32 or
<br>x64 project file configurations.<br><br>In the environment we&#39;ve got, we want to build Win32, Xbox 360 and<br>Playstation 3 binaries, all from a Win32 box.&nbsp;&nbsp;I wonder what the best<br>way to tweak cmake to do this is.&nbsp;&nbsp;My first thoughts are to do away with
<br>Visual Studio altogether, as its vcproj files are pretty hard coded into<br>cmake.&nbsp;&nbsp;Instead I&#39;m playing with using a traditional make, but I still<br>need vcproj &quot;external make&quot; files, as the developers are using visual
<br>studio.<br><br>I&#39;ve ordered the book - perhaps I&#39;ll get some hints from there.<br><br>I&#39;d be interested in hearing from anyone who is already doing this kind<br>of thing.<br>Joe<br>_______________________________________________
<br>CMake mailing list<br><a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br><a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br>