diff options
author | Brad King <brad.king@kitware.com> | 2022-03-18 12:21:22 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2022-03-18 12:21:39 (GMT) |
commit | b91d9f8397b3db5002235aba533258e45fea9a19 (patch) | |
tree | ccc361a1cafeb616b7532f71630bdecf262782a7 | |
parent | 8efc92d80f058608765daeb74be3a69f0ae91f36 (diff) | |
parent | 1b8669c1d6f6e7c73b3cc2a148a46e545aefb75d (diff) | |
download | CMake-b91d9f8397b3db5002235aba533258e45fea9a19.zip CMake-b91d9f8397b3db5002235aba533258e45fea9a19.tar.gz CMake-b91d9f8397b3db5002235aba533258e45fea9a19.tar.bz2 |
Merge topic 'doc-multiple-src-paths' into release-3.23
1b8669c1d6 Help: Document warning about multiple source paths
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7082
-rw-r--r-- | Help/manual/cmake.1.rst | 7 | ||||
-rw-r--r-- | Help/release/3.23.rst | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/Help/manual/cmake.1.rst b/Help/manual/cmake.1.rst index 9a2b2ef..18bdc5f 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: diff --git a/Help/release/3.23.rst b/Help/release/3.23.rst index c3bee02..69b935d 100644 --- a/Help/release/3.23.rst +++ b/Help/release/3.23.rst @@ -225,6 +225,12 @@ CPack Deprecated and Removed Features =============================== +* :manual:`cmake(1)` now warns when multiple source paths are specified, + as in ``cmake -S src1 src2``. This has never been officially documented + or supported, but older versions accidentally accepted multiple source + paths and used the last path specified. Update scripts to avoid + passing multiple source path arguments. + * The :manual:`cpack(1)` undocumented ``OSXX11`` generator has been removed. Other Changes |