[CMake] What is the default build type?

Marcus D. Hanwell marcus.hanwell at kitware.com
Wed Aug 2 14:57:34 EDT 2017


On Wed, Aug 2, 2017 at 2:50 PM, David Cole <DLRdave at aol.com> wrote:
> Yes, your code is a good example Marcus. It was one of the previous
> suggestions on this thread which had example code setting
> CMAKE_CONFIGURATION_TYPES.
>
> I would recommend against setting this variable because in some places
> in CMake code, it is used as an approximate proxy for whether or not a
> multi-configuration generator is being used.
>
Ah, thanks for clearing that up, it was unclear if there were issues
you spotted with what I posted, now I reread it I see. I thought I had
been pretty careful not to pollute variables meant for
multi-configuration generators :-) I may have even asked you about
this many moons ago, and possibly got the enum-style list from
something you posted.


More information about the CMake mailing list