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