> > 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?
Looking at the source, it appears (from cmLocalVisualStudio7Generator.cxx) that cmake assumes that visual studio only supports 'x64', 'ia64' and 'win32' as target platforms, and that this can only be changed in code. Is this right? Three questions then, if I may: * How do I go about specifying a particular platform in the CMakeList.txt file? * What is the easiest way to add additional platform support; can this only happen through modifying the code, or is there some other magic that can be done. (Other embedded platforms exist in VC8, which we're targeting). * Are these issues dealt with in the book? Or is there some other on-line documentation that I'm missing? Thanks, Joe _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
