[CMake] Confikgurations and Platforms in Visual Studio 8
Josef Karthauser
joe.karthauser at geomerics.com
Thu Sep 27 05:50:13 EDT 2007
> > > I'm looking at cmake as a potential solution to some build
problems
> > I'm having. Am I right in thinking that cmake only allows for four
> > hard-coded configuration labels, DEBUG/RELEASE/etc? Where should I
> > look to add to these, as we've got more configurations than this.
>
>
http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_extend_the_build_modes_wit
> h_a_custom_made_one_.3F
>
Brilliant, that looks good.
> > 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?
Much appreciated,
Joe
More information about the CMake
mailing list