Re: [CMake] Multiple platforms/configurations

2011-11-09 Thread Tom Deblauwe
What exactly do you do with that PORT variable in your CMakeLists.txt file? Perhaps, you might simply map different values to configuration- specific properties like COMPILE_DEFINITIONS_CONFIG. If you do more complicated things based on the PORT variable's value, please provide more information,

Re: [CMake] Multiple platforms/configurations

2011-11-09 Thread David Cole
The CMake Visual Studio generators do not presently support multiple platforms in the same Visual Studio project file. Moreover, they do not presently support anything beyond 32- and 64-bit Windows targets. You will need separate solution and project files for separate platforms, or you will need

Re: [CMake] Multiple platforms/configurations

2011-11-09 Thread Tom Deblauwe
On Wednesday 09 November 2011 12:45:43 David Cole wrote: The CMake Visual Studio generators do not presently support multiple platforms in the same Visual Studio project file. Moreover, they do not presently support anything beyond 32- and 64-bit Windows targets. You will need separate

Re: [CMake] Multiple platforms/configurations

2011-11-09 Thread David Cole
On Wed, Nov 9, 2011 at 10:21 AM, Tom Deblauwe tom.debla...@traficon.com wrote: On Wednesday 09 November 2011 12:45:43 David Cole wrote: The CMake Visual Studio generators do not presently support multiple platforms in the same Visual Studio project file. Moreover, they do not presently support

[CMake] Multiple platforms/configurations

2011-11-08 Thread Tom Deblauwe
Hello, I have 2 build configurations for the same source code and I am generating visual studio 2005 projects. So for the first configuration I need different defines than for the second configuration. So I do like this: mkdir build1 cd build1 cmake -DPORT=bla ../source mkdir build2 cd build2

Re: [CMake] Multiple platforms/configurations

2011-11-08 Thread Michael Hertling
On 11/08/2011 09:08 PM, Tom Deblauwe wrote: Hello, I have 2 build configurations for the same source code and I am generating visual studio 2005 projects. So for the first configuration I need different defines than for the second configuration. So I do like this: mkdir build1 cd

Re: [CMake] Multiple platforms/configurations

2011-11-08 Thread J Decker
On Tue, Nov 8, 2011 at 12:08 PM, Tom Deblauwe tom.debla...@traficon.com wrote: Hello, I have 2 build configurations for the same source code and I am generating visual studio 2005 projects. So for the first configuration I need different defines than for the second configuration. So I do