summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* FindJava, FindJNI: ensure correct handling of versions on WindowsMarc Chevrier2022-05-052-77/+47
| | | | | | | * versions are sorted in correct order * EXACT keyword is taken into account Fixes: #23479
* Merge topic 'avoid-remove-empty-path' into release-3.23Brad King2022-05-031-1/+3
|\ | | | | | | | | | | | | | | 71ded12a75 cmGeneratedFileStream: Do not remove empty path Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7223
| * cmGeneratedFileStream: Do not remove empty pathBrad King2022-04-291-1/+3
| | | | | | | | | | | | | | | | | | If `Close()` is called when a file was never opened, we have no temporary file path. Do not try to remove it. Some implementations of `unlink()` crash on an empty path (though the documented behavior is to fail with `ENOENT`). Fixes: #23414
* | Merge topic 'restore-CPACK_PACKAGEMAKER_CHOICES' into release-3.23Brad King2022-05-033-21/+108
|\ \ | |/ |/| | | | | | | | | d099136add productbuild: Restore CPACK_PACKAGEMAKER_CHOICES variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7220
| * productbuild: Restore CPACK_PACKAGEMAKER_CHOICES variableCraig Scott2022-04-293-21/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In 2a8df7e7db (productbuild: Don't write rootVolumeOnly attribute if writing domains, 2022-03-21), the variable holding the main contents of the distribution.dist XML file was renamed from CPACK_PACKAGEMAKER_CHOICES to CPACK_APPLE_PKG_INSTALLER_CONTENT. This reflected the fact that the PackageMaker generator is deprecated. The new variable also includes more details than the old one held. Some projects were relying on the old variable name, so we need to still set that to the same contents as it would have previously provided. Neither of these variables were previously documented, but the older variable was mentioned in enough semi-official places that it essentially became semi-supported. Document both variables and highlight that the older one is deprecated. Fixes: #23467
* | Merge topic 'doc-cmake.org-tutorial-archive' into release-3.23Brad King2022-04-295-8/+62
|\ \ | |/ |/| | | | | | | | | | | | | 4cb616fed6 Tutorial: Provide a source archive when published on cmake.org 37fb70591e Utilities/Sphinx: Add variables listing pre-sphinx commands eb7d913a21 Utilities/Sphinx: Clarify names of variables listing post-sphinx commands Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7215
| * Tutorial: Provide a source archive when published on cmake.orgBrad King2022-04-285-2/+54
| | | | | | | | | | | | | | | | | | Provide readers following the tutorial on `cmake.org` a direct link to download the tutorial's source examples. Previously readers had to fetch the CMake source tree separately and look for the tutorial source examples inside it. Fixes: #22475
| * Utilities/Sphinx: Add variables listing pre-sphinx commandsBrad King2022-04-271-0/+2
| |
| * Utilities/Sphinx: Clarify names of variables listing post-sphinx commandsBrad King2022-04-271-6/+6
|/
* Merge topic 'FindBoost-1.79' into release-3.23Brad King2022-04-271-1/+2
|\ | | | | | | | | | | | | f90fb73651 FindBoost: Add support for Boost 1.79 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7205
| * FindBoost: Add support for Boost 1.79Brad King2022-04-261-1/+2
|/ | | | | | | | | | | | | | | Update the list of known versions. Run the command cmake -DBOOST_DIR=/path/to/boost_1_79_0 \ -P Utilities/Scripts/BoostScanDeps.cmake to extract dependencies from the 1.79.0 source tree. They are the same as 1.78's dependencies, so just update the version check for warning about newer versions. Fixes: #23452
* Merge branch 'release-3.22' into release-3.23Brad King2022-04-260-0/+0
|\
| * Merge branch 'release-3.21' into release-3.22Brad King2022-04-260-0/+0
| |\
| | * Merge branch 'ci-xcode-13.3' into release-3.21Brad King2022-04-262-7/+8
| | |\ | | | | | | | | | | | | Merge-request: !7204
| * | \ Merge branch 'ci-xcode-13.3' into release-3.22Brad King2022-04-262-6/+7
| |\ \ \ | | | |/ | | |/| | | | | Merge-request: !7204
* | | | Merge topic 'ci-xcode-13.3' into release-3.23Brad King2022-04-262-6/+7
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | 65b6daf776 gitlab-ci: update macOS jobs to use Xcode 13.3 94361a1309 Tests: Ignore all classes in Xcode internal objc warnings da9f864513 Tests: Teach RunCMake to ignore Xcode extension point warnings Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7204
| * | | gitlab-ci: update macOS jobs to use Xcode 13.3Brad King2022-04-251-6/+6
| | | |
| * | | Tests: Ignore all classes in Xcode internal objc warningsGregor Jasny2022-04-251-1/+1
| | | | | | | | | | | | | | | | | | | | Xcode on Apple Silicon warns not only about AMSupportURL classes but also many more.
| * | | Tests: Teach RunCMake to ignore Xcode extension point warningsBrad King2022-04-251-0/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | On some Xcode versions, `xcodebuild` may warn: ... xcodebuild[...] Requested but did not find extension point with identifier ... Teach RunCMake to drop such incidental lines before matching against expected output.
* | | Merge topic 'CheckCompilerFlags-revert-linker-warnings' into release-3.23Brad King2022-04-222-1/+9
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4941887d7d CheckCompilerFlags: Revert "Catch linker warning about ignored flags" c2341ece47 CheckLinkerFlag: Catch linker warning when the checked flag is ignored Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7190
| * | | CheckCompilerFlags: Revert "Catch linker warning about ignored flags"Brad King2022-04-211-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit f745e0497e (CheckCompilerFlags: Catch linker warning about ignored flags, 2022-01-03, v3.23.0-rc1~174^2). It regressed cases where incidental linker warnings were previously tolerated. Revert the change pending further investigation. Fixes: #23432 Issue: #22961
| * | | CheckLinkerFlag: Catch linker warning when the checked flag is ignoredBrad King2022-04-211-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to commit 219dde4ea8 (CheckPIESupported: now uses any SYSROOT settings, 2022-01-16, v3.23.0-rc1~110^2), the checks for `-pie` and `-no_pie` on macOS failed due to executing the compiler directly without any `-isysroot`, producing `ld: library not found for -lc++`. See issues #23053 and #19180. The failing check for `-pie` was a bug because it is supported on macOS, both for `x86_64` and `arm64`, and the commit fixed that check. However, `-no_pie` is not supported on macOS `arm64`. The above commit was only able to detect that due to commit f745e0497e (CheckCompilerFlags: Catch linker warning about ignored flags, 2022-01-03, v3.23.0-rc1~174^2), which we need to revert due to issue #23432. Instead, catch only the linker warning about the exact flag being checked.
* | | | Merge topic 'wrong-header-referenced-in-guide' into release-3.23Brad King2022-04-221-2/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 27589da705 Help/guide: Fix wrong header file reference Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7196
| * | | | Help/guide: Fix wrong header file referenceMartin Duffy2022-04-211-2/+3
|/ / / / | | | | | | | | | | | | | | | | Step 2 references mysqrt.h instead of MathFunctions.h. MathFunctions/mysqrt.h doesn't exist until Step 9.
* | | | Merge topic 'FindPython-pypy-v7.3.9-support' into release-3.23Brad King2022-04-211-1/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5440eafaae FindPython: Add support for pypy v7.3.9 and uppers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7189
| * | | | FindPython: Add support for pypy v7.3.9 and uppersMarc Chevrier2022-04-201-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Library name versioning has changed. Fixes: #23439
* | | | | Merge topic 'file-set-build-export' into release-3.23Brad King2022-04-214-24/+135
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9ee47188c0 cmExportBuildFileGenerator: handle genex-wrapped source paths 60fab8a6e0 cmInstallCommand: tweak error message Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7182
| * | | | cmExportBuildFileGenerator: handle genex-wrapped source pathsBen Boeckel2022-04-182-19/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously a fileset with `$<$<CONFIG:Debug>:some_file>` would show up as-is (with escaping) in the build directory export. Instead, evaluate all fileset entries as generator expressions and list them as they are similar to the installation information.
| * | | | cmInstallCommand: tweak error messageBen Boeckel2022-04-162-5/+5
| |/ / / | | | | | | | | | | | | | | | | Not all filesets need to be installed; just those that are visible on the target's interface. Clarify the error message.
* | | | Merge topic 'target-runtime-dlls-doc' into release-3.23Brad King2022-04-201-7/+7
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | 692aacfc72 Help: Remove references to MODULE in $<TARGET_RUNTIME_DLLS> doc Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7186
| * | | Help: Remove references to MODULE in $<TARGET_RUNTIME_DLLS> docKyle Edwards2022-04-191-7/+7
|/ / /
* | | Merge topic 'CPackIFW-extra-dot' into release-3.23Brad King2022-04-151-3/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 331c5d458e CPackIFW: Fix regression in icon file names Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Erlend E. Aasland <erlend.aasland@innova.no> Merge-request: !7174
| * | | CPackIFW: Fix regression in icon file namesJean-Philippe Lebel2022-04-141-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes in commit 761b6e2466 (CPackIFW: Avoid colliding names for icons / logos, 2021-10-08, v3.23.0-rc1~546^2) accidentally left an extra `.` in computed file names. Remove it. Fixes: #23423
* | | | Merge topic 'file-set-generated-dependency' into release-3.23Brad King2022-04-156-2/+33
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d0d09aa29f FILE_SET: Make INTERFACE libraries with HEADER_SETS participate in buildsystem Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Acked-by: Gabriel Nützi <gnuetzi@gmail.com> Merge-request: !7173
| * | | FILE_SET: Make INTERFACE libraries with HEADER_SETS participate in buildsystemKyle Edwards2022-04-146-2/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If an INTERFACE library has HEADER_SETS, and its header sets contain files generated by a custom command, the library needs to participate in the buildsystem so that the files will be generated. Fixes: #23422
* | | | Merge topic 'ci-cmake-update' into release-3.23Brad King2022-04-142-6/+6
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | ca4d5d366d ci: use CMake 3.23.1 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7172
| * | | ci: use CMake 3.23.1Brad King2022-04-122-6/+6
|/ / /
* | | CMake 3.23.1v3.23.1Brad King2022-04-121-1/+1
| | |
* | | Merge topic 'file-set-repr-improvements' into release-3.23Brad King2022-04-1223-150/+172
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5fa15ec9f3 Help: Document that target_sources defines [INTERFACE_]HEADER_SETS c5d4812f20 cmTarget: make HEADER_SETS and INTERFACE_HEADER_SETS read-only 05783b168d cmFileSet: store visibility with the fileset Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7168
| * | | Help: Document that target_sources defines [INTERFACE_]HEADER_SETSBrad King2022-04-123-0/+10
| | | |
| * | | cmTarget: make HEADER_SETS and INTERFACE_HEADER_SETS read-onlyBen Boeckel2022-04-1120-112/+67
| | | | | | | | | | | | | | | | | | | | | | | | There is no reason to allow these properties to be manipulated by user code. Instead, use the stored visibility on the fileset objects to derive what these properties should contain.
| * | | cmFileSet: store visibility with the filesetBen Boeckel2022-04-115-40/+97
| | | | | | | | | | | | | | | | | | | | The visibility is intrinsic to the fileset, so store it with it. This avoids recalculating it on every addition to the fileset.
* | | | Merge branch 'release-3.22' into release-3.23Brad King2022-04-121-3/+10
|\ \ \ \ | | |_|/ | |/| |
| * | | CMake 3.22.4v3.22.4Brad King2022-04-122-4/+11
| | | |
* | | | Merge topic 'doc-CheckPIESupported' into release-3.23Brad King2022-04-121-4/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 91c859d1e5 CheckPIESupported: Prevent separate output lines running together ab5455aa79 Help: Correct/add missing details for CheckPIESupported Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7157
| * | | | CheckPIESupported: Prevent separate output lines running togetherCraig Scott2022-04-111-1/+1
| | | | |
| * | | | Help: Correct/add missing details for CheckPIESupportedCraig Scott2022-04-111-3/+6
| | |/ / | |/| |
* | | | Merge topic 'FindPostgreSQL-14' into release-3.23Brad King2022-04-121-2/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 23671318f3 FindPostgreSQL: add support for PostgreSQL 14 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7158
| * | | | FindPostgreSQL: add support for PostgreSQL 14Even Rouault2022-04-111-2/+2
| |/ / /
* | | | Merge topic 'correct_list-presets_parsing' into release-3.23Brad King2022-04-123-3/+19
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 45299a8f9b cmake: --list=presets=[type] doesn't generate incorrect warnings Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7164