summaryrefslogtreecommitdiffstats
path: root/Help/manual
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-03-18 12:21:22 (GMT)
committerKitware Robot <kwrobot@kitware.com>2022-03-18 12:21:40 (GMT)
commitfccb5a5152e7b900daf3fa3b4344f7becc8eea19 (patch)
tree827d3616ad2b9166279e1203ce04c968f92a19bd /Help/manual
parentafc6179aefd5948e7ef5966e485016a6fa5d8fda (diff)
parent1b8669c1d6f6e7c73b3cc2a148a46e545aefb75d (diff)
downloadCMake-fccb5a5152e7b900daf3fa3b4344f7becc8eea19.zip
CMake-fccb5a5152e7b900daf3fa3b4344f7becc8eea19.tar.gz
CMake-fccb5a5152e7b900daf3fa3b4344f7becc8eea19.tar.bz2
Merge topic 'doc-multiple-src-paths'
1b8669c1d6 Help: Document warning about multiple source paths Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7082
Diffstat (limited to 'Help/manual')
-rw-r--r--Help/manual/cmake.1.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst
index 01f754c..e93cbe5 100644
--- a/Help/manual/cmake.1.rst
+++ b/Help/manual/cmake.1.rst
@@ -171,6 +171,13 @@ is used for the other. For example:
``cmake -B build -S src`` ``src`` ``build``
============================== ============ ===========
+.. versionchanged:: 3.23
+
+ CMake warns when multiple source paths are specified. This has never
+ been officially documented or supported, but older versions accidentally
+ accepted multiple source paths and used the last path specified.
+ Avoid passing multiple source path arguments.
+
After generating a buildsystem one may use the corresponding native
build tool to build the project. For example, after using the
:generator:`Unix Makefiles` generator one may run ``make`` directly: