1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 02:08:27 +08:00

CMAKE_CFG_INTDIR: Formally deprecate in favor of $<CONFIG>

This commit is contained in:
Kyle Edwards
2021-05-27 10:26:11 -04:00
parent 34a5163fec
commit e71c4f7729

View File

@@ -1,6 +1,12 @@
CMAKE_CFG_INTDIR
----------------
.. deprecated:: 3.21
This variable has poor support on :generator:`Ninja Multi-Config`, and
predates the existence of the :genex:`$<CONFIG>` generator expression. Use
``$<CONFIG>`` instead.
Build-time reference to per-configuration output subdirectory.
For native build systems supporting multiple configurations in the
@@ -19,11 +25,6 @@ Example values:
. = Ninja
${CONFIGURATION} = Ninja Multi-Config
Note that this variable only has limited support on
:generator:`Ninja Multi-Config`. It is recommended that you use the
``$<CONFIG>`` :manual:`generator expression <cmake-generator-expressions(7)>`
instead.
Since these values are evaluated by the native build system, this
variable is suitable only for use in command lines that will be
evaluated at build time. Example of intended usage: