On 07/30/2015 08:45 AM, Nils Gladitz wrote: > Am I missing something obvious? It can only work for the configurations that CMake knows about. For single-config generators (Makefiles, Ninja) this is the value of CMAKE_BUILD_TYPE. For multi-config generators they are listed in CMAKE_CONFIGURATION_TYPES. -Brad