cmake: Allow CMAKE_CONFIGURATION_TYPES to be set by environment variable
When no `CMAKE_CONFIGURATION_TYPES` is explicitly specified while creating a new build tree, check for an environment variable of the same name. Issue: #20983
Showing
- Help/envvar/CMAKE_CONFIGURATION_TYPES.rst 11 additions, 0 deletionsHelp/envvar/CMAKE_CONFIGURATION_TYPES.rst
- Help/manual/cmake-env-variables.7.rst 1 addition, 0 deletionsHelp/manual/cmake-env-variables.7.rst
- Help/release/dev/env-init-configs.rst 4 additions, 0 deletionsHelp/release/dev/env-init-configs.rst
- Help/variable/CMAKE_CONFIGURATION_TYPES.rst 3 additions, 1 deletionHelp/variable/CMAKE_CONFIGURATION_TYPES.rst
- Source/cmMakefile.cxx 5 additions, 1 deletionSource/cmMakefile.cxx
- Tests/RunCMake/CommandLine/EnvConfigTypes-stdout.txt 2 additions, 0 deletionsTests/RunCMake/CommandLine/EnvConfigTypes-stdout.txt
- Tests/RunCMake/CommandLine/EnvConfigTypes.cmake 2 additions, 0 deletionsTests/RunCMake/CommandLine/EnvConfigTypes.cmake
- Tests/RunCMake/CommandLine/EnvConfigTypesIgnore-stdout.txt 2 additions, 0 deletionsTests/RunCMake/CommandLine/EnvConfigTypesIgnore-stdout.txt
- Tests/RunCMake/CommandLine/EnvConfigTypesIgnore.cmake 1 addition, 0 deletionsTests/RunCMake/CommandLine/EnvConfigTypesIgnore.cmake
- Tests/RunCMake/CommandLine/RunCMakeTest.cmake 9 additions, 0 deletionsTests/RunCMake/CommandLine/RunCMakeTest.cmake
Loading
Please register or sign in to comment