[CMake] CMake Visual Studio Configuration Single

J Decker d3ck0r at gmail.com
Mon Jun 30 04:53:49 EDT 2014


On Mon, Jun 30, 2014 at 1:13 AM, Jörg Kreuzberger <j.kreuzberger at 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 "clear" or reduce the list of CMAKE_CONFIGURATION_TYPES to
> just one?
>
> I might be interested in that also.
But, From a automated command line point of view, no, it selects which
build to perform, although the other targets exist, and if you load the
solution you can choose them, they often don't work.  So really
cmake_build_type is nearly required.
I build release/debug etc targets quite well, one at a time, by just
specifying which to bulid.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20140630/e855456e/attachment.html>


More information about the CMake mailing list