summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* file(GENERATE): Add test case covering use of both INPUT and CONTENTBrad King2022-07-054-0/+20
| | | | | We have long incorrectly accepted both of these together, and used only the first one. Add a test to preserve compatibility.
* file(CONFIGURE): Add test cases covering missing mandatory optionsBrad King2022-07-057-0/+14
|
* Merge branch 'release-3.24'Brad King2022-07-050-0/+0
|\
| * Merge topic 'doc-CMP0131' into release-3.24Brad King2022-07-052-5/+8
| |\ | | | | | | | | | | | | | | | | | | 703900d166 Help: Mention CMP0131 in LINK_LIBRARIES docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7444
* | \ Merge topic 'doc-CMP0131'Brad King2022-07-052-5/+8
|\ \ \ | | |/ | |/| | | | | | | | | | | | | 703900d166 Help: Mention CMP0131 in LINK_LIBRARIES docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7444
| * | Help: Mention CMP0131 in LINK_LIBRARIES docsCraig Scott2022-07-052-5/+8
| | |
* | | Merge branch 'release-3.24'Brad King2022-07-050-0/+0
|\ \ \ | | |/ | |/|
| * | Merge topic 'nvhpc-Werror' into release-3.24Brad King2022-07-052-2/+2
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 35ec676ace NVHPC: warnings as error flag is "-Werror" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7415
* | \ \ Merge topic 'nvhpc-Werror'Brad King2022-07-052-2/+2
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | 35ec676ace NVHPC: warnings as error flag is "-Werror" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7415
| * | | NVHPC: warnings as error flag is "-Werror"Robert Maynard2022-07-012-2/+2
| | | |
* | | | Merge branch 'release-3.24'Brad King2022-07-050-0/+0
|\ \ \ \ | | |/ / | |/| |
| * | | Merge topic 'add_nvcc_compile_warning_support' into release-3.24Brad King2022-07-0524-45/+92
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | cd324110d2 CUDA: NVCC support for COMPILE_WARNING_AS_ERROR target property 2e9ac1d272 Tests: Refactor warn on error tests to support multiple languages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7417
* | | | Merge topic 'add_nvcc_compile_warning_support'Brad King2022-07-0524-45/+92
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | cd324110d2 CUDA: NVCC support for COMPILE_WARNING_AS_ERROR target property 2e9ac1d272 Tests: Refactor warn on error tests to support multiple languages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7417
| * | | CUDA: NVCC support for COMPILE_WARNING_AS_ERROR target propertyRobert Maynard2022-07-0110-1/+23
| | | |
| * | | Tests: Refactor warn on error tests to support multiple languagesRobert Maynard2022-06-2916-44/+69
| | | |
* | | | CMake Nightly Date StampKitware Robot2022-07-051-1/+1
| | | |
* | | | Merge branch 'release-3.24'Craig Scott2022-07-050-0/+0
|\ \ \ \ | | |/ / | |/| |
| * | | Merge topic 'LINK_LIBRARY-Darwin-LIBRARY-features-enhancements' into ↵Craig Scott2022-07-051-6/+6
| |\ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | release-3.24 537861664a Genex LINK_LIBRARY: MacOS: enhance *_LIBRARY features c55d42eb42 Darwin.cmake: Fix indenting Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7433
* | | | Merge topic 'LINK_LIBRARY-Darwin-LIBRARY-features-enhancements'Craig Scott2022-07-051-6/+6
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | 537861664a Genex LINK_LIBRARY: MacOS: enhance *_LIBRARY features c55d42eb42 Darwin.cmake: Fix indenting Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7433
| * | | Genex LINK_LIBRARY: MacOS: enhance *_LIBRARY featuresMarc Chevrier2022-07-031-3/+3
| | | |
| * | | Darwin.cmake: Fix indentingCraig Scott2022-07-031-3/+3
| | | |
* | | | CMake Nightly Date StampKitware Robot2022-07-041-1/+1
| | | |
* | | | Merge branch 'release-3.24'Craig Scott2022-07-030-0/+0
|\ \ \ \ | | |/ / | |/| |
| * | | Merge topic 'doc-LINK_LIBRARY_genex' into release-3.24Craig Scott2022-07-0313-454/+502
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d185f7c0a8 Help: Rework $<LINK_LIBRARY>, $<LINK_GROUP> and related docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7413
* | \ \ \ Merge topic 'doc-LINK_LIBRARY_genex'Craig Scott2022-07-0313-454/+502
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | d185f7c0a8 Help: Rework $<LINK_LIBRARY>, $<LINK_GROUP> and related docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7413
| * | | | Help: Rework $<LINK_LIBRARY>, $<LINK_GROUP> and related docsCraig Scott2022-07-0313-454/+502
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | These changes restructure the docs to improve readability and flow, correct grammar and typos, and fix errors and inconsistencies in some of the examples. Fixes: #23684
* | | | CMake Nightly Date StampKitware Robot2022-07-031-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2022-07-021-1/+1
| | | |
* | | | Merge topic 'findicu'Brad King2022-07-011-7/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 669b6a37f5 FindICU: Fix component reporting logic Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7430
| * | | | FindICU: Fix component reporting logicAlexander Grund2022-06-301-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | Components were incorrectly reported as found because `component_found` is set to a string containing the variable name which is a truethy value. Fix by simply merging the setter of `component_found` with the reporting setter instead of checking `component_found OR component_found_compat` which is overly verbose anyway.
* | | | | Merge topic 'FindRuby-version-matching'Brad King2022-07-011-46/+7
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | abe8192d82 FindRuby: Simplify version matching Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7425
| * | | | | FindRuby: Simplify version matchingDiego Pino Garcia2022-06-301-46/+7
| | | | | |
* | | | | | Merge topic 'file-archive-args'Brad King2022-07-018-3/+43
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7c83265e59 file(ARCHIVE*): Simplify acceptance of empty list arguments dfff470d15 file(ARCHIVE*): Add test for keyword arguments with missing values Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7427
| * | | | | | file(ARCHIVE*): Simplify acceptance of empty list argumentsBrad King2022-06-291-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In `cmArgumentParser`, a keyword bound to a `std::vector<std::string>` value is reported in the list of keywords with missing values if the keyword appears followed by an empty list. For cases where we want to tolerate empty lists, clients need to filter out such keywords themselves before producing an error message. This may be improved in the future, but that is out of scope here. In commit c7e1198a23 (file: Add ARCHIVE_{CREATE|EXTRACT} subcommands, 2020-03-13, v3.18.0-rc1~530^2), a pattern for filtering out keywords that accept empty lists was copied from commit c998c8d560 (file(GET_RUNTIME_DEPENDENCIES): Tolerate empty list arguments, 2020-01-22, v3.17.0-rc1~111^2~1) incorrectly in two ways: * Keywords were included in the filter that do not accept empty lists. * Keywords were not in sorted order, breaking the filter operation. Those two bugs mostly canceled each other out, and the resulting behavior was to correctly report keywords with missing values. However, the `MTIME` keyword was accidentally accepted with no value by pretending the keyword was not given at all. Simplify the logic by removing keywords from the filters that should not be there. Leave `MTIME` in the filter for compatibility.
| * | | | | | file(ARCHIVE*): Add test for keyword arguments with missing valuesBrad King2022-06-297-0/+34
| |/ / / / /
* | | | | | Merge branch 'release-3.24'Brad King2022-07-010-0/+0
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | |
| * | | | | Merge topic 'genex-TARGET_BUNDLE_DIR_NAME' into release-3.24Brad King2022-07-014-2/+49
| |\ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 8bd98b8117 Genex: Fix TARGET_BUNDLE_DIR_NAME incorrect extension Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7428
* | | | | | Merge topic 'genex-TARGET_BUNDLE_DIR_NAME'Brad King2022-07-014-2/+49
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 8bd98b8117 Genex: Fix TARGET_BUNDLE_DIR_NAME incorrect extension Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7428
| * | | | | Genex: Fix TARGET_BUNDLE_DIR_NAME incorrect extensionBen Leadbetter2022-07-014-2/+49
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the genex from commit 997af2e1a6 (Genex: Add TARGET_BUNDLE_DIR_NAME, 2022-04-14, v3.24.0-rc1~233^2) to use the correct bundle directory extension for each bundle type. Fixes: #23683
* | | | | CMake Nightly Date StampKitware Robot2022-07-011-1/+1
| |_|/ / |/| | |
* | | | Merge topic 'FindCURL-package-version'Brad King2022-06-301-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 886ba0b1d6 FindCURL: Set CURL_VERSION_STRING when curl is found as a package Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7421
| * | | | FindCURL: Set CURL_VERSION_STRING when curl is found as a packagemakise-homura2022-06-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FindCURL, when found as `curl-config.cmake`, will fill `CURL_VERSION` instead of `CURL_VERSION_STRING` variable. It may break some cases when user is relying on correct value of the latter variable, and as an example, already breaks `CMakeOnly.AllFindModules` test.
* | | | | Merge branch 'release-3.24'Brad King2022-06-300-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge branch 'release-3.23' into release-3.24Brad King2022-06-300-0/+0
| |\ \ \ \
* | \ \ \ \ Merge branch 'release-3.23'Brad King2022-06-300-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge branch 'file-set-crash' into release-3.23Brad King2022-06-3010-4/+60
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !7420
* | \ \ \ \ \ Merge branch 'release-3.24'Brad King2022-06-300-0/+0
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | |
| * | | | | | Merge topic 'file-set-crash' into release-3.24Brad King2022-06-3010-4/+60
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3fee5398bd install(EXPORT): Check for missing file sets at generate time Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7420
* | | | | | | Merge topic 'file-set-crash'Brad King2022-06-3010-4/+60
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3fee5398bd install(EXPORT): Check for missing file sets at generate time Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7420
| * | | | | | install(EXPORT): Check for missing file sets at generate timeKyle Edwards2022-06-2910-4/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Missing file sets were originally checked at configure time in install(TARGETS ... EXPORT), but were not checked at generate time. If a file set was added after install(TARGETS ... EXPORT) was called, an abortion error was thrown. Check again at generate time to gracefully display an error message instead of crashing. Fixes: #23680