[CMake] Confikgurations and Platforms in Visual Studio 8

2007-09-27 Thread Josef Karthauser
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. Also, does cmake have an ide

RE: [CMake] Confikgurations and Platforms in Visual Studio 8

2007-09-27 Thread Torsten Martinsen
Josef Karthauser <> wrote: > 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

RE: [CMake] Confikgurations and Platforms in Visual Studio 8

2007-09-27 Thread Josef Karthauser
> > > 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:/

RE: [CMake] Confikgurations and Platforms in Visual Studio 8

2007-09-27 Thread Josef Karthauser
> > 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. >

RE: [CMake] Confikgurations and Platforms in Visual Studio 8

2007-09-27 Thread Josef Karthauser
> > > 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|x6

Re: [CMake] Confikgurations and Platforms in Visual Studio 8

2007-09-27 Thread Neal Meyer
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 "Debu

Re: [CMake] Confikgurations and Platforms in Visual Studio 8

2007-09-28 Thread Sylvain Benner
How are you arranging this, would you be able to let me see some of your CMakeList.txt files? It looks to me that I'm hitting a lot of edge cases in cmake, and It's not clear from the documentation, what the right way of doing this is. Can you help me avoid banging my head against the wall? :)

Re: [CMake] Confikgurations and Platforms in Visual Studio 8

2007-09-28 Thread Sylvain Benner
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, X

Re: [CMake] Confikgurations and Platforms in Visual Studio 8

2007-09-28 Thread Sylvain Benner
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, X