summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Help: Drop current CMake version from standard policy advice paragraphBrad King2024-01-111-1/+1
| | | | | | Every policy documents whether CMake warns when it is not set. This behavior does not change with the CMake version, so avoid possibly confusing mention of the current CMake version.
* Help: Normalize and consolidate standard policy advice paragraphBrad King2024-01-11152-557/+510
| | | | | | | | Every policy's documentation has a paragraph on what version of CMake introduced it, how to set the policy, and whether CMake warns if the policy is not set. The wording of this paragraph has diverged across policies over time. Factor the paragraph out into a standard advice document included by every policy.
* Merge topic 'file-strings-regex-match'Brad King2024-01-1119-3/+133
|\ | | | | | | | | | | | | | | | | fa00928bcd file: `STRINGS` + `REGEX` store match results ff0085cf74 Help: Drop incorrect versionadded mark from CMAKE_MATCH_<n> Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9124
| * file: `STRINGS` + `REGEX` store match resultsCristian Le2024-01-0918-1/+133
| | | | | | | | Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de>
| * Help: Drop incorrect versionadded mark from CMAKE_MATCH_<n>Brad King2024-01-091-2/+0
| | | | | | | | | | | | | | It was added by commit 496ec6036f (Help: Add Sphinx 'versionadded' directives to each top-level document, 2020-07-06, v3.19.0-rc1~558^2) because the document happened to be added during the 3.9 release series, but the variable has existed since the beginning.
* | Merge topic 'swift-implib'Brad King2024-01-114-1/+16
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | a2aad7eb8d Swift: fix Windows DLL import library support for CMP0157 NEW Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Jeremy Day <jadaytime@gmail.com> Merge-request: !9140
| * | Swift: fix Windows DLL import library support for CMP0157 NEWSaleem Abdulrasool2024-01-104-1/+16
| | | | | | | | | | | | | | | | | | | | | This was accidentally removed when the command templates were reorganized to introduce the new policy. Restore the flag in the shared library creation to ensure that we emit the import libraries to the correct location.
* | | Merge topic 'package-dispatch-apple'Brad King2024-01-118-85/+85
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 2a398cd9b6 CMakePackageConfigHelpers: Clarify generate_apple_*_selection_file signatures Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9130
| * | | CMakePackageConfigHelpers: Clarify generate_apple_*_selection_file signaturesBrad King2024-01-058-85/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The helpers added by: * commit 37bc3400cd (CMakePackageConfigHelpers: Add generate_apple_platform_selection_file(), 2023-11-03) * commit 4ac5a2f866 (CMakePackageConfigHelpers: Add generate_apple_architecture_selection_file(), 2023-12-19) were worded in terms of including package configuration files, but the actual functionality is to include files *from* package configuration files. The included files do not themselves need to be usable as package configuration files. Rename the options and clarify the documentation accordingly. Issue: #25262 Issue: #25516
* | | | Merge topic 'ci-linkcheck'Brad King2024-01-111-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5b302bf5fe FindCxxTest: Drop broken anchor on link to cxxtest project page Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9146
| * | | | FindCxxTest: Drop broken anchor on link to cxxtest project pageBrad King2024-01-101-1/+1
| | |/ / | |/| |
* | | | Merge branch 'release-3.28'Brad King2024-01-110-0/+0
|\ \ \ \
| * \ \ \ Merge topic 'update-zlib' into release-3.28Brad King2024-01-1118-222/+253
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 941b948a85 Merge branch 'upstream-zlib' into update-zlib 5d030dc716 zlib 2022-10-12 (04f42cec) b7379f9e21 zlib: Update script to get zlib 1.2.13 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !9145
* | \ \ \ \ Merge topic 'update-zlib'Brad King2024-01-1118-222/+253
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 941b948a85 Merge branch 'upstream-zlib' into update-zlib 5d030dc716 zlib 2022-10-12 (04f42cec) b7379f9e21 zlib: Update script to get zlib 1.2.13 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !9145
| * | | | | Merge branch 'upstream-zlib' into update-zlibBrad King2024-01-1017-221/+252
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream-zlib: zlib 2022-10-12 (04f42cec) Fixes: #25576
| | * | | | | zlib 2022-10-12 (04f42cec)zlib upstream2024-01-1017-221/+252
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://github.com/madler/zlib.git at commit 04f42ceca40f73e2978b50e93806c2a18c1281fc (v1.2.13).
| * | | | | | zlib: Update script to get zlib 1.2.13Brad King2024-01-101-1/+1
| | |/ / / / | |/| | | | | | | | | | | | | | | | Issue: #25576
* | | | | | CMake Nightly Date StampKitware Robot2024-01-111-1/+1
| |_|/ / / |/| | | |
* | | | | Merge topic 'static'Brad King2024-01-104-8/+29
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9e829779f2 Swift: preserve `-static` for static library swiftmodules Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9141
| * | | | | Swift: preserve `-static` for static library swiftmodulesSaleem Abdulrasool2024-01-094-8/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `-static` is important for the emission of the module as it is serialized into the swiftmodule which then is used by the Swift frontend to decide how to link to the symbol (via the GOT or not, or the IAT on Windows). This repairs building static libraries with Swift on Windows.
* | | | | | Merge topic 'orkun_refactor_09_01_2024'Brad King2024-01-101-22/+20
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 63d4e4ec28 Makefile: Reduce string copies 4d928592eb Makefile: Remove redundant push_back 3e533bd64f Makefile: Improve const correctness c2dd5dfbe8 Makefile: Remove no-op call Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9142
| * | | | | | Makefile: Reduce string copiesOrkun Tokdemir2024-01-091-3/+3
| | | | | | |
| * | | | | | Makefile: Remove redundant push_backOrkun Tokdemir2024-01-091-2/+1
| | | | | | |
| * | | | | | Makefile: Improve const correctnessOrkun Tokdemir2024-01-091-15/+16
| | | | | | |
| * | | | | | Makefile: Remove no-op callOrkun Tokdemir2024-01-091-2/+0
| | | | | | |
* | | | | | | Merge branch 'release-3.28'Brad King2024-01-100-0/+0
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | |
| * | | | | | Merge topic 'vs-scan-for-modules' into release-3.28Brad King2024-01-107-8/+46
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 405dc7d19c Tests/CXXModules/scan_properties: use `ixx` extension 029ddc3410 cmVisualStudio10TargetGenerator: always specify scanning 6c9614cbf4 Tests/CXXModules: add a test case for VS generation without flags 34f4423851 cmVisualStudio10TargetGenerator: fix typo in flag name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9104
* | \ \ \ \ \ \ Merge topic 'vs-scan-for-modules'Brad King2024-01-107-8/+46
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 405dc7d19c Tests/CXXModules/scan_properties: use `ixx` extension 029ddc3410 cmVisualStudio10TargetGenerator: always specify scanning 6c9614cbf4 Tests/CXXModules: add a test case for VS generation without flags 34f4423851 cmVisualStudio10TargetGenerator: fix typo in flag name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9104
| * | | | | | | Tests/CXXModules/scan_properties: use `ixx` extensionBen Boeckel2024-01-092-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This ensures that Visual Studio is told not to scan this explicitly.
| * | | | | | | cmVisualStudio10TargetGenerator: always specify scanningBen Boeckel2024-01-061-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set that sources should not be scanned on a target-wide basis and then enable on a per-TU basis as needed. Fixes: #25519
| * | | | | | | Tests/CXXModules: add a test case for VS generation without flagsBen Boeckel2024-01-064-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, the `ScanSourceForModuleDependencies` flag was not added to the VS project if "nothing" prompted custom flags. See: #25519
| * | | | | | | cmVisualStudio10TargetGenerator: fix typo in flag nameBen Boeckel2024-01-061-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is case insensitive, so this only matches the official flag name and still works.
* | | | | | | | Merge branch 'release-3.28'Brad King2024-01-100-0/+0
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | |
| * | | | | | | Merge topic 'cxxmodules-no-unity' into release-3.28Brad King2024-01-1013-1/+120
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 63bbb3768d cmLocalGenerator: ignore scanned sources for unity builds 76b5383123 cmGlobalGenerator: add unity sources after computing target compile features 7fc2a83fe6 Tests/CXXModules: add a test with unity build support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9118
* | \ \ \ \ \ \ \ Merge topic 'cxxmodules-no-unity'Brad King2024-01-1013-1/+120
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 63bbb3768d cmLocalGenerator: ignore scanned sources for unity builds 76b5383123 cmGlobalGenerator: add unity sources after computing target compile features 7fc2a83fe6 Tests/CXXModules: add a test with unity build support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9118
| * | | | | | | | cmLocalGenerator: ignore scanned sources for unity buildsBen Boeckel2024-01-054-0/+22
| | | | | | | | |
| * | | | | | | | cmGlobalGenerator: add unity sources after computing target compile featuresBen Boeckel2024-01-052-1/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We need to know which sources will be scanned for C++ module dependencies in order to exclude them from unity builds. The addition of unity sources will not change the set of features.
| * | | | | | | | Tests/CXXModules: add a test with unity build supportBen Boeckel2024-01-057-0/+68
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | C++ module-using TUs cannot participate in unity builds. Add a test case for this situation.
* | | | | | | | Merge branch 'release-3.28'Brad King2024-01-100-0/+0
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | |
| * | | | | | | Merge topic 'makefile-depfile' into release-3.28Brad King2024-01-104-4/+25
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7198f0d149 Makefile: Fix double escaping when DEPFILE is used 5162ff64d4 Makefile: Reduce string copies Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9138
* | \ \ \ \ \ \ \ Merge topic 'makefile-depfile'Brad King2024-01-104-4/+25
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7198f0d149 Makefile: Fix double escaping when DEPFILE is used 5162ff64d4 Makefile: Reduce string copies Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9138
| * | | | | | | | Makefile: Fix double escaping when DEPFILE is usedOrkun Tokdemir2024-01-094-3/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit cfd8a5ac1f (Makefiles: Add support of DEPFILE for add_custom_command, 2020-12-04, v3.20.0-rc1~237^2~1) we added a `ConvertToOutputPath` call on a path given to the `depends` field of `WriteMakeRule`. The latter already handles escaping for Makefile syntax. Fixes: #25554
| * | | | | | | | Makefile: Reduce string copiesOrkun Tokdemir2024-01-081-1/+1
| |/ / / / / / /
* | | | | | | | CMake Nightly Date StampKitware Robot2024-01-101-1/+1
| |_|_|/ / / / |/| | | | | |
* | | | | | | Merge topic 'ctest-cli-http-headers'Brad King2024-01-095-2/+43
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 20adf8cfce ctest: allow HTTP headers via command line Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9123
| * | | | | | | ctest: allow HTTP headers via command lineMatthew Woehlke2024-01-085-2/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add ability to specify HTTP headers via `ctest -T Submit`.
* | | | | | | | Merge topic 'ewilde/swift-ninja-response-files'Brad King2024-01-096-3/+32
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a6a5c43300 Swift/Ninja: Add support for response files Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9098
| * | | | | | | | Swift/Ninja: Add support for response filesEvan Wilde2024-01-086-3/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding support for `CMAKE_NINJA_FORCE_RESPONSE_FILE` with Swift. Issue: #25490 Fixes: #25563
* | | | | | | | | Merge topic 'ninja-always-make-object-dirs'Brad King2024-01-094-20/+43
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | de3dc16b64 cmNinjaTargetGenerator: use `.` for the needed phony order-only dependency 1aa28f3b92 cmNinjaTargetGenerator: ensure that the object output directory exists 4a9613ff9b cmNinjaTargetGenerator: add a method to compute the object directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9105
| * | | | | | | | | cmNinjaTargetGenerator: use `.` for the needed phony order-only dependencyBen Boeckel2024-01-063-6/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is only required for Ninja < 1.7 though.