diff options
author | Kyle Edwards <kyle.edwards@kitware.com> | 2020-01-10 21:31:29 (GMT) |
---|---|---|
committer | Kyle Edwards <kyle.edwards@kitware.com> | 2020-01-10 21:31:29 (GMT) |
commit | e8032e202e23436cc4301b7ded23c3fdce1161b2 (patch) | |
tree | 9269877224bb3d6d70972887965d5d331fe11e3b /Help/manual | |
parent | 75e109a5b304ed502894f5e0ea791b327f6d1963 (diff) | |
download | CMake-e8032e202e23436cc4301b7ded23c3fdce1161b2.zip CMake-e8032e202e23436cc4301b7ded23c3fdce1161b2.tar.gz CMake-e8032e202e23436cc4301b7ded23c3fdce1161b2.tar.bz2 |
Ninja Multi-Config: Make cross-config building opt-in
Many users will want to use the Ninja Multi-Config generator like a
traditional Visual Studio-style multi-config generator, which doesn't
mix configurations - custom commands are built using target executables
of the same configuration the command is for. We do not want to force
these people to generate an N*N build matrix when they only need N*1,
especially if they have lots of targets. Add a new variable,
CMAKE_NINJA_CROSS_CONFIG_ENABLE, to opt-in to the cross-config build
matrix.
Diffstat (limited to 'Help/manual')
-rw-r--r-- | Help/manual/cmake-variables.7.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Help/manual/cmake-variables.7.rst b/Help/manual/cmake-variables.7.rst index 74dd1fb..26f1d80 100644 --- a/Help/manual/cmake-variables.7.rst +++ b/Help/manual/cmake-variables.7.rst @@ -423,6 +423,7 @@ Variables that Control the Build /variable/CMAKE_MODULE_LINKER_FLAGS_INIT /variable/CMAKE_MSVCIDE_RUN_PATH /variable/CMAKE_MSVC_RUNTIME_LIBRARY + /variable/CMAKE_NINJA_CROSS_CONFIG_ENABLE /variable/CMAKE_NINJA_OUTPUT_PATH_PREFIX /variable/CMAKE_NO_BUILTIN_CHRPATH /variable/CMAKE_NO_SYSTEM_FROM_IMPORTED |