summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* CUDA: Factor out helper to validate CMAKE_CUDA_ARCHITECTURESBrad King2023-09-214-19/+28
| | | | Prepare to use it for other languages.
* CUDA: Factor out helper for detecting native CUDA architecturesBrad King2023-09-214-68/+84
| | | | Prepare to use it for other languages.
* CUDA: Factor out helper to compute all CUDA architecturesBrad King2023-09-213-83/+95
| | | | Prepare to use it for other languages.
* CUDA: Factor out helper to find CUDA Toolkit for compilerBrad King2023-09-212-171/+181
| | | | Prepare to use it for other languages.
* CUDA: Factor out helper to filter implicit link librariesBrad King2023-09-213-19/+25
| | | | Prepare to use it for other languages.
* CUDA: Factor out helper to parse NVCC implicit compiler and linker flagsBrad King2023-09-214-161/+181
| | | | Prepare to use it for other languages.
* CUDA: Factor out some NVCC compiler informationBrad King2023-09-212-93/+100
| | | | Prepare to use nvcc for other languages.
* CUDA: Clarify order of logic finding CUDA Toolkit for compilerBrad King2023-09-211-3/+3
| | | | Finish all the search logic before using any results.
* CUDA: Clarify compiler-specific logic in architectures tableBrad King2023-09-211-19/+32
|
* CUDA: Clarify logic detecting compiler default CUDA architecturesBrad King2023-09-211-16/+13
| | | | | | | | Improve variable names and comments. Remove a comment missed by commit c267ed205a (CUDA: Defer architecture testing to the compiler testing step, 2022-04-25, v3.24.0-rc1~222^2) about architecture verification.
* CUDA: Simplify isolation of work variables for determining compilerBrad King2023-09-211-11/+16
| | | | | Unset variables as soon as we are done with them. Rename one work variable to a private name.
* CUDA: Combine consecutive blocks using same condition for determining compilerBrad King2023-09-211-4/+2
|
* CUDA: Simplify CMAKE_GENERATOR references for determining compilerBrad King2023-09-211-7/+7
|
* cmGeneratorTarget: Clarify local variable names for device architecturesBrad King2023-09-191-21/+20
|
* Merge topic 'test-ExportImport'Brad King2023-09-191-4/+4
|\ | | | | | | | | | | | | | | be5603d031 Tests: Fix ExportImport test with read-only source tree Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8813
| * Tests: Fix ExportImport test with read-only source treeBrad King2023-09-181-4/+4
| |
* | Merge topic 'update-module-document'Brad King2023-09-193-22/+32
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 3a54ee8cd5 FindQuickTime: Improve documentation formatting 3cf5f4af54 FindProducer: Improve documentation formatting b35c17b202 FindPhysFS: Improve documentation formatting Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8812
| * | FindQuickTime: Improve documentation formatting權少2023-09-181-6/+8
| | |
| * | FindProducer: Improve documentation formatting權少2023-09-181-10/+14
| | |
| * | FindPhysFS: Improve documentation formatting權少2023-09-181-6/+10
| |/
* | Merge topic 'FindMatlab-version-full'Brad King2023-09-191-67/+69
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 39881de3f6 FindMatlab:macOS: return full version when found by path guess 35bcb9116c FindMatlab:lint: set(... CACHE INTERNAL) implies FORCE dc9d9589e4 FindMatlab:WIN32: return full Matlab version when found via registry abbfdd3b3a FindMatlab: improve version regex ff20d993f3 FindMatlab: doc: rename osx=>macOS d7b73f14c2 FindMatlab: retrieve full major.minor.patch.tweak 8b8135487f FindMatlab: refactor: remove unneeded syntax fff5c1507e FindMatlab: refactor: use registry query instead of execute_process Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8805
| * | FindMatlab:macOS: return full version when found by path guessscivision2023-09-181-0/+5
| | |
| * | FindMatlab:lint: set(... CACHE INTERNAL) implies FORCEscivision2023-09-181-6/+6
| | |
| * | FindMatlab:WIN32: return full Matlab version when found via registryscivision2023-09-181-13/+24
| | | | | | | | | | | | | | | rework internal XML reading function for better code reuse and namespace isolation
| * | FindMatlab: improve version regexscivision2023-09-181-5/+5
| | | | | | | | | | | | the matlab_versions_mapping always has at least major.minor
| * | FindMatlab: doc: rename osx=>macOSscivision2023-09-181-6/+6
| | |
| * | FindMatlab: retrieve full major.minor.patch.tweakscivision2023-09-181-4/+12
| | |
| * | FindMatlab: refactor: remove unneeded syntaxscivision2023-09-181-7/+2
| | |
| * | FindMatlab: refactor: use registry query instead of execute_processscivision2023-09-181-32/+15
| |/ | | | | | | | | | | | | | | | | On Windows, instead of executing "reg query" it's much simpler and more robust to use cmake's built in registry query. Remove unused variables. Significantly reduces amount of code in function.
* | Merge topic 'script_file_exists'Brad King2023-09-196-5/+9
|\ \ | | | | | | | | | | | | | | | | | | | | | ca77b745e9 cmake: Clarify error if -P script does not exist Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8809
| * | cmake: Clarify error if -P script does not existscivision2023-09-186-5/+9
| |/
* | CMake Nightly Date StampKitware Robot2023-09-191-1/+1
|/
* Merge topic 'FindMatlab-r2023b'Brad King2023-09-181-7/+8
|\ | | | | | | | | | | | | cf7ea12a7e FindMatlab: Add R2023b=23.2 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8804
| * FindMatlab: Add R2023b=23.2scivision2023-09-151-7/+8
| | | | | | | | Matlab went to a new version numbering scheme with R2023b.
* | Merge topic 'FindLibXslt-cache-advanced'Brad King2023-09-181-1/+2
|\ \ | | | | | | | | | | | | | | | | | | fd0d1ae002 FindLibXslt: Mark LIBXSLT_LIBRARY and LIBXSLT_EXSLT_INCLUDE_DIR as advanced Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8807
| * | FindLibXslt: Mark LIBXSLT_LIBRARY and LIBXSLT_EXSLT_INCLUDE_DIR as advancedPeter Kokot2023-09-151-1/+2
| | | | | | | | | | | | | | | Make them consistent with other artifacts' cache entries. Also drop mark on non-cache variable.
* | | Merge topic 'FindTIFF-config-agreement'Brad King2023-09-181-0/+73
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6a3059e66f FindTIFF: bridge `tiff-config` into FindTIFF-compatible interface Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8803
| * | | FindTIFF: bridge `tiff-config` into FindTIFF-compatible interfaceBen Boeckel2023-09-141-0/+73
| | |/ | |/| | | | | | | | | | | | | `libtiff` upstream now provides a configuration of its own with the `TIFF::tiff` target provided. Additionally, it uses lowercase for its package name.
* | | CMake Nightly Date StampKitware Robot2023-09-181-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2023-09-171-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2023-09-161-1/+1
| | |
* | | Merge topic 'find-windows-no-PATH-prefixes'Brad King2023-09-1534-194/+35
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | 0a81110b84 find_(library|file|path): Drop PATH-derived search prefixes Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8802
| * | find_(library|file|path): Drop PATH-derived search prefixesBrad King2023-09-1434-194/+35
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit ffc06c1239 (Teach find_(library|file|path) to get prefixes from PATH, 2015-02-18, v3.3.0-rc1~430^2) we search in `<prefix>/include` and `<prefix>/lib` directories for prefixes with `bin` directories in the `PATH` environment variable. The motivation was to search the installation prefixes of MSYS and MinGW development environments automatically. This behavior can search undesired prefixes that happen to be in the `PATH` for unrelated reasons. It was reverted for non-Windows hosts within a year by commit b30b32a493 (Drop find_(library|file|path) prefixes from PATH on non-Windows, 2016-05-09, v3.6.0-rc1~82^2) but was kept on Windows hosts to support its motivating use case. However, similar problems have since been observed on Windows. For example, commit 955d6245c1 (MSVC: Revert "Teach find_library to consider the 'libfoo.a' naming convention", 2022-11-28, v3.25.1~6^2) was primarily due to undesired discovery of libraries in `PATH`-derived prefixes. Since commit 5e5132e1b1 (MinGW: Search for packages in standard MSYSTEM environment prefixes, 2023-09-11) we search MSYS and MinGW environments' prefixes explicitly, so `PATH`-derived prefixes are no longer needed for the original motivating use case. Fixes: #24216
* | CMake Nightly Date StampKitware Robot2023-09-151-1/+1
|/
* Merge branch 'release-3.27'Brad King2023-09-141-2/+2
|\
| * CMake 3.27.5v3.27.5Brad King2023-09-142-3/+3
| |
* | Merge branch 'release-3.27'Brad King2023-09-140-0/+0
|\ \ | |/
| * Merge topic 'cxxmodules-non-compiled-source' into release-3.27Brad King2023-09-148-4/+61
| |\ | | | | | | | | | | | | | | | | | | | | | 458e3974a8 cxxmodules: detect and message about non-compiled sources Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8773
* | \ Merge topic 'cxxmodules-non-compiled-source'Brad King2023-09-148-4/+61
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 24a9b00f83 Merge branch 'cxxmodules-non-compiled-source-release' into cxxmodules-non-compiled-source 458e3974a8 cxxmodules: detect and message about non-compiled sources Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8773
| * \ \ Merge branch 'cxxmodules-non-compiled-source-release' into ↵Ben Boeckel2023-09-128-4/+61
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | cxxmodules-non-compiled-source * cxxmodules-non-compiled-source-release: cxxmodules: detect and message about non-compiled sources