[CMake] CMake Visual Studio Configuration Single

Jörg Kreuzberger j.kreuzberger at procitec.de
Mon Jun 30 04:13:34 EDT 2014


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 "clear" or reduce the list of CMAKE_CONFIGURATION_TYPES to just one?



-----Ursprüngliche Nachricht-----
Von:	J Decker <d3ck0r at gmail.com>
Gesendet:	Mo 30.06.2014 09:52
Betreff:	Re: [CMake] CMake Visual Studio Configuration Single
An:	Jörg Kreuzberger <j.kreuzberger at procitec.de>; 
CC:	cmake at cmake.org; 
> 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.kreuzberger at procitec.de 
> <mailto:j.kreuzberger at 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, 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 configuration projects.
> 
> Fortunately cmake 3.0 seems to support the $<TARGET_...> notations also in 
> install steps, so some problems are solved.
> 
> But due to the nature of visual studio solutions it could be also possible for 
> cmake to generate Signale Configuration Visual Studio solutions.
> Is there any options to do this or is only multi configuration supported?
> 
> Mannheim HRB 504702
> Geschäftsführer: Dipl.-Ing. (FH) Michael Brenk (Vorsitzender), Dipl.-Ing. (FH) 
> Dipl.-Inf. (FH) Jens Heyen
> 
> This e-mail may contain confidential and/or legally protected information. If 
> you are not the intended recipient (or have received this e-mail in error) 
> please notify the sender immediately and delete this e-mail. Any unauthorized 
> copying, disclosure or distribution of the material in this email is strictly 
> forbidden.
> Thank you!
> 
> 
> --
> 
> Powered by www.kitware.com <http://www.kitware.com> 
> 
> Please keep messages on-topic and check the CMake FAQ at: 
> http://www.cmake.org/Wiki/CMake_FAQ <http://www.cmake.org/Wiki/CMake_FAQ> 
> 
> Kitware offers various services to support the CMake community. For more 
> information on each offering, please visit:
> 
> CMake Support: http://cmake.org/cmake/help/support.html 
> <http://cmake.org/cmake/help/support.html> 
> CMake Consulting: http://cmake.org/cmake/help/consulting.html 
> <http://cmake.org/cmake/help/consulting.html> 
> CMake Training Courses: http://cmake.org/cmake/help/training.html 
> <http://cmake.org/cmake/help/training.html> 
> 
> Visit other Kitware open-source projects at 
> http://www.kitware.com/opensource/opensource.html 
> <http://www.kitware.com/opensource/opensource.html> 
> 
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/cmake 
> <http://public.kitware.com/mailman/listinfo/cmake> 
> 
>

Mannheim HRB 504702
Geschäftsführer: Dipl.-Ing. (FH) Michael Brenk (Vorsitzender), Dipl.-Ing. (FH) Dipl.-Inf. (FH) Jens Heyen

This e-mail may contain confidential and/or legally protected information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this email is strictly forbidden.
Thank you!




More information about the CMake mailing list