Kyle Edwards
dbe3f8eee7
Help: Clarify default value of CMAKE_CONFIGURATION_TYPES for NMC
...
Fixes : #22266
2021-06-02 08:57:43 -04:00
Kyle Edwards
98805a11ce
Ninja Multi-Config: Run POST_BUILD when BYPRODUCTS don't overlap
...
Fixes : #21252
2021-01-07 11:26:17 -05:00
Kyle Edwards
dcf9f4d2f7
Ninja Multi-Config: Add support for cross-config custom commands
...
Co-Author: Brad King <brad.king@kitware.com >
2020-12-15 07:01:21 -05:00
Kyle Edwards
18372afcd4
Help: Fix documentation for Ninja Multi-Config's build.ninja
2020-10-09 13:50:36 -04:00
Kitware Robot
496ec6036f
Help: Add Sphinx 'versionadded' directives to each top-level document
...
Run the `Utilities/Sphinx/update_versions.py` script to add initial
markup to every top-level document and find module.
Issue: #19715
2020-07-06 10:23:20 -04:00
Kyle Edwards
c8fd26eb57
Help: Move Ninja Multi-Config variable details into their respective pages
2020-03-26 15:33:48 -04:00
Kyle Edwards
c794b70f19
Ninja Multi-Config: Always generate build.ninja
...
If CMAKE_DEFAULT_BUILD_TYPE is not specified, use the first item
from CMAKE_CONFIGURATION_TYPES instead.
2020-02-27 10:39:35 -05:00
Kyle Edwards
7a63dafafb
Ninja Multi-Config: Remove "NMC" from variable names
...
Also rename `..._DEFAULT_BUILD_FILE_CONFIG` to `..._DEFAULT_BUILD_TYPE`.
These name changes make the variables meaningful for future use by other
generators.
2020-02-27 09:22:08 -05:00
Kyle Edwards
bd4ae2af0f
Help: Make note of ninja -f argument in Ninja Multi-Config docs
2020-02-04 14:22:49 -05:00
Kyle Edwards
79e5b3c46a
Help: Explain new behavior of cmake --build in Ninja Multi-Config
2020-02-04 14:22:49 -05:00
Kyle Edwards
b966f86d86
Ninja Multi-Config: Shuffle variables around
...
Remove redundant variable CMAKE_NINJA_MULTI_CROSS_CONFIG_ENABLE.
Rename other variables. Document and improve handling of error
conditions.
2020-02-03 13:27:51 -05:00
Kyle Edwards
b7a2baf38c
Ninja Multi-Config: Add variable to control configs used in cross-config build
2020-01-23 15:47:12 -05:00
Kyle Edwards
8337ed0d73
Ninja Multi-Config: Add variable to control aliases in build.ninja
2020-01-22 10:26:21 -05:00
Kyle Edwards
310b58e961
Ninja Multi-Config: Rename variable to be more consistent
...
Also make some tweaks to the documentation.
2020-01-16 10:34:43 -05:00
Kyle Edwards
e8032e202e
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.
2020-01-10 16:31:29 -05:00
Kyle Edwards
8c062f9d99
Help: Add documentation and release notes for multi-config Ninja
2019-12-13 10:52:07 -05:00