summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-05-28 16:20:25 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-05-28 16:20:31 (GMT)
commitbe0e013fd9141caa5851c6c01fccbe96903a3250 (patch)
treed29a6aaabca64b16b16f5d6373f3cbf9ee75567e
parentc186dfcd01cfda600cca12c2326d5105d8017da8 (diff)
parente71c4f7729930a6e5ff803edc5c9e2b5db54695e (diff)
downloadCMake-be0e013fd9141caa5851c6c01fccbe96903a3250.zip
CMake-be0e013fd9141caa5851c6c01fccbe96903a3250.tar.gz
CMake-be0e013fd9141caa5851c6c01fccbe96903a3250.tar.bz2
Merge topic 'deprecate-cmake-cfg-intdir'
e71c4f7729 CMAKE_CFG_INTDIR: Formally deprecate in favor of $<CONFIG> Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6163
-rw-r--r--Help/variable/CMAKE_CFG_INTDIR.rst11
1 files changed, 6 insertions, 5 deletions
diff --git a/Help/variable/CMAKE_CFG_INTDIR.rst b/Help/variable/CMAKE_CFG_INTDIR.rst
index 842654e..43668ea 100644
--- a/Help/variable/CMAKE_CFG_INTDIR.rst
+++ b/Help/variable/CMAKE_CFG_INTDIR.rst
@@ -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: