summaryrefslogtreecommitdiff
path: root/Help/variable/CMAKE_CFG_INTDIR.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/variable/CMAKE_CFG_INTDIR.rst')
-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 842654ec5..43668eaac 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: