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