summaryrefslogtreecommitdiff
path: root/Help
diff options
context:
space:
mode:
authorKyle Edwards <kyle.edwards@kitware.com>2021-05-27 10:26:11 -0400
committerKyle Edwards <kyle.edwards@kitware.com>2021-05-27 10:26:11 -0400
commite71c4f7729930a6e5ff803edc5c9e2b5db54695e (patch)
treefdc53312c0a520003b44fb8cc2e2aec782424c0c /Help
parent34a5163fecebf86d93277830a673fabdd53da82c (diff)
downloadcmake-e71c4f7729930a6e5ff803edc5c9e2b5db54695e.tar.gz
CMAKE_CFG_INTDIR: Formally deprecate in favor of $<CONFIG>
Diffstat (limited to 'Help')
-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 842654ec5c..43668eaac8 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: