Skip to content

Ninja Multi-Config: Shuffle variables again

This change does three things:

  1. Remove the NMC_ portion of the variable names
  2. Make it an error to use the variables in other generators (to leave room for future expansion)
  3. Use the first item from CMAKE_CONFIGURATION_TYPES if CMAKE_DEFAULT_BUILD_TYPE is not specified

This change was prompted by the following Discourse thread: https://discourse.cmake.org/t/ninja-multi-config-is-overly-complex/684

Backport: release

Edited by Kyle Edwards

Merge request reports