Re: [CMake] CMake Visual Studio Configuration Single

2014-07-01 Thread Jörg Kreuzberger
I'm not sure why you would recommend anything related to CMAKE_BUILD_TYPE for the Visual Studio generators. I would be curious to know exactly how you are using it, because internally, CMAKE_BUILD_TYPE (to the best of my knowledge) is completely ignored by the Visual Studio generators. I

Re: [CMake] CMake Visual Studio Configuration Single

2014-07-01 Thread Bill Hoffman
On 7/1/2014 3:38 AM, Jörg Kreuzberger wrote: As newbee to cmake i only could not understand why this single / multi configuration stuff is supported. it makes it more complicated, but i assume it is like always: historical grown. It is supported because that is the way native development

[CMake] CMake Visual Studio Configuration Single

2014-06-30 Thread Jörg Kreuzberger
Hi! During my migration from qmake to cmake it is pure hell for me to support the multi configuration visual studio solutions, especially for some parts like the installation steps, custom targets and so on. Most of them are because of the problem with the different build dirs in this multi

Re: [CMake] CMake Visual Studio Configuration Single

2014-06-30 Thread J Decker
ya, ignore the other types, and just set CMAKE_BUILD_TYPE appropriratly. On Mon, Jun 30, 2014 at 12:43 AM, Jörg Kreuzberger j.kreuzber...@procitec.de wrote: Hi! During my migration from qmake to cmake it is pure hell for me to support the multi configuration visual studio solutions,

Re: [CMake] CMake Visual Studio Configuration Single

2014-06-30 Thread Jörg Kreuzberger
Nachricht- Von:J Decker d3c...@gmail.com Gesendet: Mo 30.06.2014 09:52 Betreff:Re: [CMake] CMake Visual Studio Configuration Single An: Jörg Kreuzberger j.kreuzber...@procitec.de; CC: cmake@cmake.org; ya, ignore the other types, and just set CMAKE_BUILD_TYPE

Re: [CMake] CMake Visual Studio Configuration Single

2014-06-30 Thread J Decker
On Mon, Jun 30, 2014 at 1:13 AM, Jörg Kreuzberger j.kreuzber...@procitec.de wrote: I thought the CMAKE_BUILD_TYPE only would work for nmake makefile generation (Single Configuration Generator) and is ignored in Visual Studio SLN Generator (Multi Configuration Generator). Maybe i should

Re: [CMake] CMake Visual Studio Configuration Single

2014-06-30 Thread David Cole via CMake
You can set CMAKE_CONFIGURATION_TYPES to your own list of configurations (including limiting it to a single configuration) as long as you set it *before* the project command in your CMakeLists.txt file. This technique works with the Visual Studio and Xcode generators. See the following bug

Re: [CMake] CMake Visual Studio Configuration Single

2014-06-30 Thread J Decker
On Mon, Jun 30, 2014 at 3:09 AM, David Cole dlrd...@aol.com wrote: You can set CMAKE_CONFIGURATION_TYPES to your own list of configurations (including limiting it to a single configuration) as long as you set it *before* the project command in your CMakeLists.txt file. This technique works