I want to limit hard-coded CMAKE_CONFIGURATION_TYPES to RELEASE and DEBUG only. If I execute cmake GUI on Windows to create Visual Studio build, CMAKE_CONFIGURATION_TYPES is present along with other cmake variables.
How can I remove CMAKE_CONFIGURATION_TYPES from the GUI?
Thanks
Dima
Use the
MARK_AS_ADVANCEDcommand:Also, remember that in order to change the configuration types, you need to set it before the
PROJECT()command.