Commit Graph

58826 Commits

Author SHA1 Message Date
Michael Hirsch 72dd680609 FindMatlab: follow CMP0074 <PackageName>_ROOT search behavior 2022-09-01 10:48:13 -04:00
Michael Hirsch ba74c58ca4 FindMatlab: add'l check that Matlab test version file exists
this last resort check is for some HPC with "module load matlab"
not enacted that fail to catch in earlier checks. That would
error CMake configure even if find_package(Matlab) is not REQUIRED
2022-09-01 10:35:41 -04:00
Brad King f7fc864c3a Merge topic 'FindOpenSP-module'
e706da5f7e FindOpenSP: Add module to find the OpenSP library
4bcdf1b992 ci: add OpenSP to Debian and Fedora base images

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7470
2022-08-31 09:42:07 -04:00
Brad King 914ee5d2e5 Merge branch 'release-3.24' 2022-08-31 09:39:52 -04:00
Brad King b9371c0477 Merge topic 'CMAKE_FIND_USE_INSTALL_PREFIX-support-staging-prefix'
0fc10bb19b CMAKE_FIND_USE_INSTALL_PREFIX considers CMAKE_STAGING_PREFIX
43d31c5198 cmFindBase: Refactor CMAKE_FIND_USE_INSTALL_PREFIX handling

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7623
2022-08-31 09:39:52 -04:00
Brad King 3aebeb1b55 Merge topic 'CMAKE_FIND_USE_INSTALL_PREFIX-support-staging-prefix' into release-3.24
0fc10bb19b CMAKE_FIND_USE_INSTALL_PREFIX considers CMAKE_STAGING_PREFIX
43d31c5198 cmFindBase: Refactor CMAKE_FIND_USE_INSTALL_PREFIX handling

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7623
2022-08-31 09:39:51 -04:00
Brad King 5b9750ee26 Merge branch 'release-3.24' 2022-08-31 09:38:52 -04:00
Brad King f9a1eeb2b4 Merge topic 'test-symlinks-with-ccache'
d3ac4e8246 Tests: Teach RunCMake.SymlinkTrees to tolerate CCACHE_BASEDIR

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7622
2022-08-31 09:38:52 -04:00
Brad King 90aef0b92a Merge topic 'test-symlinks-with-ccache' into release-3.24
d3ac4e8246 Tests: Teach RunCMake.SymlinkTrees to tolerate CCACHE_BASEDIR

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7622
2022-08-31 09:38:50 -04:00
Brad King 01e14a9ca9 Merge branch 'release-3.24' 2022-08-31 09:37:46 -04:00
Brad King aa7316a358 Merge topic 'doc-CMP0134-fixes'
7dca3807f8 Help: Fix typos, grammar and formatting in CMP0134 policy docs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7620
2022-08-31 09:37:46 -04:00
Brad King 209af8f9a5 Merge topic 'doc-CMP0134-fixes' into release-3.24
7dca3807f8 Help: Fix typos, grammar and formatting in CMP0134 policy docs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7620
2022-08-31 09:37:45 -04:00
Brad King 88b313a39f Merge branch 'release-3.24' 2022-08-31 09:35:59 -04:00
Brad King bc0e2716dd Merge topic 'automoc-silence-warnings'
fc8628389f automoc: avoid more compiler warnings in linker-warning-silencing code

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7617
2022-08-31 09:35:59 -04:00
Brad King b8409fb1bc Merge topic 'automoc-silence-warnings' into release-3.24
fc8628389f automoc: avoid more compiler warnings in linker-warning-silencing code

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7617
2022-08-31 09:35:57 -04:00
Brad King 47744c735b Merge branch 'release-3.24' 2022-08-31 09:29:51 -04:00
Brad King 33a51cdf1d Merge topic 'FindBoost-1.80'
468a995346 FindBoost: Add support for Boost 1.80

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: مهدي شينون (Mehdi Chinoune) <mehdi.chinoune@hotmail.com>
Merge-request: !7600
2022-08-31 09:29:51 -04:00
Brad King 35e73f513b Merge topic 'FindBoost-1.80' into release-3.24
468a995346 FindBoost: Add support for Boost 1.80

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: مهدي شينون (Mehdi Chinoune) <mehdi.chinoune@hotmail.com>
Merge-request: !7600
2022-08-31 09:29:49 -04:00
Kitware Robot 8bcc84283e CMake Nightly Date Stamp 2022-08-31 00:01:15 -04:00
Robert Maynard 0fc10bb19b CMAKE_FIND_USE_INSTALL_PREFIX considers CMAKE_STAGING_PREFIX
Fixes #23900
2022-08-30 17:52:40 -04:00
Brad King d3ac4e8246 Tests: Teach RunCMake.SymlinkTrees to tolerate CCACHE_BASEDIR
If the test is driven with a `ccache`-wrapped compiler then
the `CCACHE_BASEDIR` environment variable might break paths
the test checks.

Fixes: #23885
2022-08-30 16:41:20 -04:00
Robert Maynard 43d31c5198 cmFindBase: Refactor CMAKE_FIND_USE_INSTALL_PREFIX handling 2022-08-30 15:26:30 -04:00
Albert Astals Cid fc8628389f automoc: avoid more compiler warnings in linker-warning-silencing code
Revise the approach from commit 844244ccdc (automoc: avoid compiler
warnings in linker-warning-silencing code, 2022-08-10, v3.24.1~6^2)
to avoid `-Wmissing-declarations` warnings too.

Issue: #23823
2022-08-30 15:21:12 -04:00
Craig Scott 7dca3807f8 Help: Fix typos, grammar and formatting in CMP0134 policy docs 2022-08-30 15:11:09 -04:00
Dawid Wróbel e706da5f7e FindOpenSP: Add module to find the OpenSP library
OpenSP has not seen a release in seventeen years, so is unlikely to ever
provide a CMake package configuration file.  Add a find module instead.
2022-08-30 13:55:07 -04:00
Kargatum 468a995346 FindBoost: Add support for Boost 1.80
Update the list of known versions.

Run the command

    cmake -DBOOST_DIR=/path/to/boost_1_80_0 \
      -P Utilities/Scripts/BoostScanDeps.cmake

to extract dependencies from the 1.80.0 source tree.
They are the same as 1.79's dependencies, so just update
the version check for warning about newer versions.
2022-08-30 13:46:22 -04:00
Brad King 4bcdf1b992 ci: add OpenSP to Debian and Fedora base images 2022-08-30 12:46:03 -04:00
Kitware Robot 60a1ccbd6a CMake Nightly Date Stamp 2022-08-30 00:01:12 -04:00
Kitware Robot 8f3ba34ea2 CMake Nightly Date Stamp 2022-08-29 00:01:25 -04:00
Craig Scott 8c381fdd41 Merge topic 'c-d-argument-order-doc'
b2d07c3297 Help: Clarify that the order of -C and -D arguments matters

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7614
2022-08-28 18:37:49 -04:00
Kitware Robot d6fbfc94a1 CMake Nightly Date Stamp 2022-08-28 00:01:09 -04:00
Kitware Robot 526b39edbd CMake Nightly Date Stamp 2022-08-27 00:01:13 -04:00
Kyle Edwards b2d07c3297 Help: Clarify that the order of -C and -D arguments matters 2022-08-26 13:55:33 -04:00
Craig Scott bbda95e7bd Merge topic 'file-DOWNLOAD-existing-file-matched-message'
666b3c6f13 Help: Clarify file(DOWNLOAD) behavior for existing file with same hash
87a40b720a file(DOWNLOAD): Fix message for existing file with matching hash

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7599
2022-08-26 06:53:46 -04:00
Craig Scott 8a47cd4b7e Merge branch 'release-3.24' 2022-08-26 06:50:40 -04:00
Craig Scott 7198d12d5e Merge topic 'correct_cupti_search_paths'
1f3c3589f1 FindCUDAToolkit: Search the cuda toolkit include path for cupti

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7608
2022-08-26 06:50:40 -04:00
Craig Scott 9b4efcb92f Merge topic 'correct_cupti_search_paths' into release-3.24
1f3c3589f1 FindCUDAToolkit: Search the cuda toolkit include path for cupti

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7608
2022-08-26 06:50:39 -04:00
Craig Scott dc20dd3f44 Merge topic 'doc-export-compile-commands'
a28fb5980b Help:CMAKE_[CTEST,CPACK]_COMMAND]: correct copy-paste error
1ed074cf6d Help:CMAKE_EXPORT_COMPILE_COMMANDS: link to Ninja Generators

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7610
2022-08-26 06:47:08 -04:00
Craig Scott 4febca3e61 Merge topic 'doc-config-genex-version-note'
302b22450e Help: $<CONFIG:...> supports multiple configs only since CMake 3.19

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7607
2022-08-26 06:41:48 -04:00
Kitware Robot 71b7458f5b CMake Nightly Date Stamp 2022-08-26 00:01:13 -04:00
Kyle Edwards b9698ba3ca Merge branch 'release-3.24' 2022-08-25 09:14:22 -04:00
Kyle Edwards 2ef64745c8 Merge topic 'file-set-source-group'
970052fedd FILE_SET: Fix source group detection
bcc3965813 Tests: Fix VS10Project SourceGroupTreeCMakeLists check

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7609
2022-08-25 09:14:21 -04:00
Kyle Edwards 32e6ee29d7 Merge topic 'file-set-source-group' into release-3.24
970052fedd FILE_SET: Fix source group detection
bcc3965813 Tests: Fix VS10Project SourceGroupTreeCMakeLists check

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7609
2022-08-25 09:14:20 -04:00
Kitware Robot 9d1ecd72fb CMake Nightly Date Stamp 2022-08-25 00:01:07 -04:00
Michael Hirsch a28fb5980b Help:CMAKE_[CTEST,CPACK]_COMMAND]: correct copy-paste error 2022-08-24 21:32:15 -04:00
Michael Hirsch 1ed074cf6d Help:CMAKE_EXPORT_COMPILE_COMMANDS: link to Ninja Generators
compile_commands.json is generated for Ninja and Ninja Multi-Config
2022-08-24 21:28:45 -04:00
Kyle Edwards 970052fedd FILE_SET: Fix source group detection
Call MatchChildrenFiles() instead of MatchesFiles() in order to
account for files being in subgroups of source groups.

Fixes: #23880
2022-08-24 16:07:24 -04:00
Kyle Edwards bcc3965813 Tests: Fix VS10Project SourceGroupTreeCMakeLists check
Fix an `IN LISTS` loop, fix a variable check, and escape backslashes
in the regex used to search for source group names.
2022-08-24 16:07:24 -04:00
Robert Maynard 1f3c3589f1 FindCUDAToolkit: Search the cuda toolkit include path for cupti 2022-08-24 09:49:10 -04:00
Michael Hirsch 302b22450e Help: $<CONFIG:...> supports multiple configs only since CMake 3.19 2022-08-24 15:29:06 +10:00