summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* CMake 3.29.3v3.29.3Brad King2024-05-072-4/+4
|
* Merge branch 'release-3.28' into release-3.29Brad King2024-05-071-0/+6
|\
| * CMake 3.28.5v3.28.5Brad King2024-05-072-1/+7
| |
* | Merge branch 'release-3.28' into release-3.29Brad King2024-05-070-0/+0
|\ \ | |/
| * Merge topic 'cxx-inspect-without-scanning' into release-3.28Brad King2024-05-072-0/+16
| |\ | | | | | | | | | | | | | | | | | | 6df925b595 cxxmodules: Do not scan sources while testing the compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9494
* | \ Merge topic 'cxx-inspect-without-scanning' into release-3.29Brad King2024-05-072-0/+16
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | 6df925b595 cxxmodules: Do not scan sources while testing the compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !9494
| * | cxxmodules: Do not scan sources while testing the compilerBrad King2024-05-062-0/+16
| |/ | | | | | | | | | | | | | | | | The C++ sources we use to test the compiler do not use modules. Avoid requiring a compiler that can scan just to enable the language, even when CMP0155 is NEW. The project may explicitly turn off `CMAKE_CXX_SCAN_FOR_MODULES` before adding any targets. Fixes: #25956
* | Merge branch 'release-3.28' into release-3.29Brad King2024-05-030-0/+0
|\ \ | |/
| * Merge topic 'cxxmodules-build-export-different-directory' into release-3.28Brad King2024-05-0311-2/+153
| |\ | | | | | | | | | | | | | | | | | | ec35251510 cmDyndepCollation: look at all `export(TARGETS)` calls Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9485
* | \ Merge topic 'cxxmodules-build-export-different-directory' into release-3.29Brad King2024-05-0311-2/+153
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1fba6d3233 Merge branch 'cxxmodules-build-export-different-directory-3.28' into cxxmodules-build-export-different-directory ec35251510 cmDyndepCollation: look at all `export(TARGETS)` calls Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9485
| * \ \ Merge branch 'cxxmodules-build-export-different-directory-3.28' into ↵Ben Boeckel2024-05-0211-2/+153
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | cxxmodules-build-export-different-directory * cxxmodules-build-export-different-directory-3.28: cmDyndepCollation: look at all `export(TARGETS)` calls
| | * | cmDyndepCollation: look at all `export(TARGETS)` callsBen Boeckel2024-05-0211-2/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, only `export()` calls in the same directory were noticed. Also add a test that exports in a different directory than the target itself resides in. Fixes: #25813
* | | | Merge branch 'release-3.28' into release-3.29Brad King2024-05-020-0/+0
|\ \ \ \ | | |_|/ | |/| |
| * | | Merge topic 'vs-scan-module-deps-settings' into release-3.28Brad King2024-05-024-14/+52
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3022f0363f VS: set ScanSourceForModuleDependencies at vcxproj level dff511ad28 cmGeneratorTarget: add a target-level query for "needs dyndep" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9471
* | \ \ \ Merge topic 'vs-scan-module-deps-settings' into release-3.29Brad King2024-05-024-14/+52
|\ \ \ \ \ | | |/ / / | |/| / / | |_|/ / |/| | | | | | | | | | | | | | | | | | | 3022f0363f VS: set ScanSourceForModuleDependencies at vcxproj level dff511ad28 cmGeneratorTarget: add a target-level query for "needs dyndep" Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: AaronRuizMoraUK <aaronruizmora@gmail.com> Merge-request: !9471
| * | | VS: set ScanSourceForModuleDependencies at vcxproj levelBen Boeckel2024-05-012-5/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement the target-wide `CXX_SCAN_FOR_MODULES`/`CMP0155` selection with the `.vcxproj`-wide `ScanSourceForModuleDependencies` setting. Set the per-source equivalent only when needed for a per-source `CXX_SCAN_FOR_MODULES` property. This approach enables Intellisense for interfaces imported from modules. It is also more consistent with what a user might expect when investigating the state of module scanning from the VS property panels. Fixes: #25806 Fixes: #25947
| * | | cmGeneratorTarget: add a target-level query for "needs dyndep"Ben Boeckel2024-05-012-9/+31
| |/ / | | | | | | | | | | | | This can still be overridden per-source, but it indicates the state of the target's default behavior.
* | | Merge branch 'release-3.28' into release-3.29Brad King2024-05-010-0/+0
|\ \ \ | |/ /
| * | Merge topic 'export-name-safe-name' into release-3.28Brad King2024-05-0112-6/+321
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 142a85f9c1 cxxmodules: use filesystem-safe export names in filenames 4452d41488 cmGeneratorTarget: add method to get a filesystem-safe export name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9474
* | \ \ Merge topic 'export-name-safe-name' into release-3.29Brad King2024-05-0112-6/+321
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | 142a85f9c1 cxxmodules: use filesystem-safe export names in filenames 4452d41488 cmGeneratorTarget: add method to get a filesystem-safe export name Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9474
| * | | cxxmodules: use filesystem-safe export names in filenamesBen Boeckel2024-04-3010-6/+310
| | | | | | | | | | | | | | | | | | | | | | | | Also add tests. Fixes: #25828
| * | | cmGeneratorTarget: add method to get a filesystem-safe export nameBen Boeckel2024-04-292-0/+11
| | |/ | |/| | | | | | | | | | | | | | | | | | | C++ module support puts the export name in a filename. Export names with `:` in them are not valid filenames on Windows. Add a method to escape names as necessary. See: #25828
* | | Merge topic 'FindHDF5-version-4-components' into release-3.29Brad King2024-05-011-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 928943f91b FindHDF5: Fix detection of versions with more than three components Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9476
| * | | FindHDF5: Fix detection of versions with more than three componentsمهدي شينون (Mehdi Chinoune)2024-04-301-1/+1
|/ / / | | | | | | | | | | | | | | | Fix detecting the version of HDF5 1.14.4.2. Fixes: #25945
* | | Merge branch 'release-3.28' into release-3.29Brad King2024-04-300-0/+0
|\ \ \ | | |/ | |/|
| * | Merge topic 'exported-modules-with-headers' into release-3.28Brad King2024-04-3011-0/+188
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2041f7c9bf cmGeneratorTarget: add the original target as a COMPILE_ONLY link 051c2110c8 Tests/CXXModules: test exporting modules which include headers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9469
* | \ \ Merge topic 'exported-modules-with-headers' into release-3.29Brad King2024-04-3011-0/+188
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | 2041f7c9bf cmGeneratorTarget: add the original target as a COMPILE_ONLY link 051c2110c8 Tests/CXXModules: test exporting modules which include headers Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9469
| * | | cmGeneratorTarget: add the original target as a COMPILE_ONLY linkBen Boeckel2024-04-271-0/+4
| | | | | | | | | | | | | | | | Fixes: #25909
| * | | Tests/CXXModules: test exporting modules which include headersBen Boeckel2024-04-2710-0/+184
| | |/ | |/| | | | | | | | | | Test that headers that are part of the same target are available to modules in the target itself.
* | | Merge topic 'save-restore-PACKAGE_PREFIX_DIR' into release-3.29Brad King2024-04-226-75/+192
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8ac7958e3a generate_apple_*_selection_file: Save/restore PACKAGE_PREFIX_DIR bf88879f1f generate_apple_architecture_selection_file: Avoid early returns a4ac2c92f4 Help: Add missing section heading for apple architecture selection b7fcc44be9 Help: Fix CMakePackageConfigHelpers typos, grammar and formatting f1cacaa830 Tests/RunCMake/CMakePackage: Define variable closer to where it is used Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9430
| * | | generate_apple_*_selection_file: Save/restore PACKAGE_PREFIX_DIRCraig Scott2024-04-195-0/+102
| | | | | | | | | | | | | | | | Issue: #25827
| * | | generate_apple_architecture_selection_file: Avoid early returnsCraig Scott2024-04-191-15/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This refactoring makes the generated file follow the same structure as generate_apple_platform_selection_file(). It uses a single if-elseif-else-endif block rather than a sequence of if-endif blocks. This avoids any early return() calls, allowing cleanup code to be added at the end later.
| * | | Help: Add missing section heading for apple architecture selectionCraig Scott2024-04-191-0/+3
| | | |
| * | | Help: Fix CMakePackageConfigHelpers typos, grammar and formattingCraig Scott2024-04-191-57/+56
| | | |
| * | | Tests/RunCMake/CMakePackage: Define variable closer to where it is usedBrad King2024-04-151-3/+4
| | | |
* | | | Merge topic 'doc-ObjC-17-23' into release-3.29Brad King2024-04-171-0/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 84f1eb64f3 Help/OBJC_STANDARD: Document Objective C17 and C23 support Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !9439
| * | | | Help/OBJC_STANDARD: Document Objective C17 and C23 supportRaul Tambre2024-04-161-0/+10
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was missed in * commit 93b7d3d292 (C17 support, 2021-02-06, v3.21.0-rc1~587^2~10) * commit dcd599757f (C23 support, 2021-02-06, v3.21.0-rc1~587^2~9) Fixes: #25746
* | | | Merge topic 'FindBoost-1.85' into release-3.29Brad King2024-04-171-2/+2
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | 0d5953b373 FindBoost: Add support for Boost 1.85 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9435
| * | | FindBoost: Add support for Boost 1.85Brad King2024-04-161-2/+2
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the list of known versions. Run the command cmake -DBOOST_DIR=/path/to/boost_1_85_0 \ -P Utilities/Scripts/BoostScanDeps.cmake to extract dependencies from the 1.85.0 source tree. They are the same as 1.84's dependencies, so just update the version check for warning about newer versions. Fixes: #25905
* | | CMake 3.29.2v3.29.2Brad King2024-04-112-1/+8
| | |
* | | Merge topic 'restore-pkg-prefix-var' into release-3.29Brad King2024-04-116-137/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 0e4db17764 CMakePackageConfigHelpers: Restore undocumented PACKAGE_PREFIX_DIR variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9420
| * | | CMakePackageConfigHelpers: Restore undocumented PACKAGE_PREFIX_DIR variableBrad King2024-04-116-137/+7
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit 6ddf8712cd (CMakePackageConfigHelpers: Use unique variable name for pkg prefix, 2024-03-30, v3.29.1~8^2). It regressed existing projects that rely on the undocumented `PACKAGE_PREFIX_DIR` variable in package configuration files generated by `CMakePackageConfigHelpers`. Fixes: #25873 Fixes: #25885 Issue: #25827
* | | Merge topic 'compiler-path-normalization' into release-3.29Brad King2024-04-1110-46/+40
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 26e79ed299 Fix regression on reconfigure with unnormalized -DCMAKE_<LANG>_COMPILER= 1d485a8b45 Tests/RunCMake/CompilerChange: Simplify test cases Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Ashay Rane <ashay.r@gmail.com> Merge-request: !9416
| * | | Fix regression on reconfigure with unnormalized -DCMAKE_<LANG>_COMPILER=Brad King2024-04-104-8/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 3f2a5971c0 (Modules: CMAKE_*_COMPILER convert path to cmake path, 2023-12-02, v3.29.0-rc1~292^2) we normalize the path to the compiler. Update our logic that checks whether the compiler has changed to account for path normalization. Fixes: #25883 Issue: #25456
| * | | Tests/RunCMake/CompilerChange: Simplify test casesBrad King2024-04-107-39/+20
| | | |
* | | | Merge topic 'FindJasper-imported-target' into release-3.29Brad King2024-04-111-2/+2
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | 4ab860c4c7 FindJasper: Fix Jasper::Jasper IMPORTED_CONFIGURATIONS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9415
| * | | FindJasper: Fix Jasper::Jasper IMPORTED_CONFIGURATIONSKai Pastor2024-04-101-2/+2
|/ / / | | | | | | | | | | | | | | | In commit 6e8754c625 (FindJasper: Add IMPORTED target, 2021-10-06, v3.22.0-rc1~20^2) this property was not set correctly. This was detected by `CMP0160` because the `IMPORTED` property is read-only.
* | | Merge topic 'swift-fix-submodule-dependencies' into release-3.29Brad King2024-04-102-14/+30
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 579472d877 Swift: Ninja: Remove module dependency for executables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9411
| * | | Swift: Ninja: Remove module dependency for executablesEvan Wilde2024-04-092-14/+30
|/ / / | | | | | | | | | | | | | | | | | | We shouldn't include the swiftmodule in the ninja dependency graph unless that target emits a swiftmodule. Fixes: #25869
* | | Merge topic 'FindOpenSSL-SLP-layout' into release-3.29Brad King2024-04-041-4/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9ff5dae3f6 FindOpenSSL: Update layout for Shining Light Productions debug libraries aa86f487c2 FindOpenSSL: Update layout for Shining Light Productions 32-bit package Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9402