Jelajahi Sumber

Merge topic 'cmake-cfg-intdir-ninja-multi' into release-3.17

853c3eac6d Help: Note that CMAKE_CFG_INTDIR is not fully supported on Ninja Multi-Config

Acked-by: Kitware Robot <[email protected]>
Merge-request: !4397
Brad King 6 tahun lalu
induk
melakukan
e97881a518
1 mengubah file dengan 7 tambahan dan 0 penghapusan
  1. 7 0
      Help/variable/CMAKE_CFG_INTDIR.rst

+ 7 - 0
Help/variable/CMAKE_CFG_INTDIR.rst

@@ -16,6 +16,13 @@ Example values:
   $(Configuration)     = Visual Studio 10
   $(CONFIGURATION)     = Xcode
   .                    = Make-based tools
+  .                    = 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