[CMake] Check Build Type/Config Changed

Romain LEGUAY romain.leguay at gmail.com
Sat Jan 5 11:08:19 EST 2019


Hi everyone,



Is there a way to test if the build type changed?


I try to create a cache variable with CMAKE_BUILD_TYPE as value but I found
an unexpected result: CMAKE_BUILD_TYPE or CMAKE_CONFIGURATION_TYPES are not
defined (I'm working on Windows with Visual Studio 2017, Visual Studio Code
and Qt Creator).


Thank you,


Romain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20190105/3d2f7a1d/attachment-0001.html>


More information about the CMake mailing list