Skip to content

CMAKE_CONFIG_TYPE does what it says on the tin

friendlyanon requested to merge friendlyanon/cmake:feature-config-env into master

Related issue: #21294

CMAKE_CONFIG_TYPE=<config> env variable will now provide a default value for:

  • cmake --build ... --config <config>
  • cmake --install ... --config <config>
  • ctest --build-config <config> / ctest -C <config>
  • build_command(... CONFIGURATION <config>)

Documentation was updated accordingly on affected pages.

Merge request reports