summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Autogen: Add support for response files for moc predef targetstophoo2023-11-1611-1/+88
| | | | | Add support for response files for moc predef targets and make the limit when to use response files for autogen targets configurable.
* Autogen: Generalize MaybeWriteMocResponseFile to MaybeWriteResponseFiletophoo2023-11-141-50/+53
|
* Merge topic 'export-find_dependency-calls'Brad King2023-11-1463-61/+890
|\ | | | | | | | | | | | | | | | | | | | | | | 0ad8fc5a63 FetchContent: Set CMAKE_EXPORT_FIND_PACKAGE_NAME c6e6861e63 install(EXPORT): Export find_dependency() calls 2837f592ab cmExportFileGenerator: Add function to set required CMake version e62a3b8625 Help/export: Add signature directives Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Acked-by: Jason Juang <jasjuang@gmail.com> Merge-request: !8957
| * FetchContent: Set CMAKE_EXPORT_FIND_PACKAGE_NAMEKyle Edwards2023-11-138-0/+135
| |
| * install(EXPORT): Export find_dependency() callsKyle Edwards2023-11-1353-10/+700
| | | | | | | | | | | | Issue: #20511 Co-Authored-by: Brad King <brad.king@kitware.com> Co-Authored-by: Robert Maynard <rmaynard@nvidia.com>
| * cmExportFileGenerator: Add function to set required CMake versionKyle Edwards2023-11-136-44/+48
| |
| * Help/export: Add signature directivesKyle Edwards2023-11-131-8/+8
| |
* | Merge topic 'FindBLAS-LAPACK-OpenBLAS-mingw'Brad King2023-11-142-2/+10
|\ \ | | | | | | | | | | | | | | | | | | 6ce94ae0b7 Find{BLAS,LAPACK}: Fix OpenBLAS ILP64 support with MSYS2 packages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8968
| * | Find{BLAS,LAPACK}: Fix OpenBLAS ILP64 support with MSYS2 packagesMartin Köhler2023-11-132-2/+10
| |/ | | | | | | | | Typically, ILP64 BLAS libraries are suffixed with `64`, but the MSYS2 package provides the ILP64 version of OpenBLAS with a `_64` suffix.
* | Merge topic 'sources-per-config'Brad King2023-11-143-7/+22
|\ \ | | | | | | | | | | | | | | | | | | | | | 16c5977504 Fix per-config sources in multi-config generators when first config adds none Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8971
| * | Fix per-config sources in multi-config generators when first config adds noneBrad King2023-11-133-7/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit b1c3ae33ea (cmTarget: Short-circuit language computation if context independent., 2014-04-09, v3.1.0-rc1~669^2~1) we've tried to avoid repeating computation of the list of sources for a target for every configuration in the case that a per-config source (or object library) contributes zero sources. However, it is possible that an entry contributes zero sources in the first configuration processed but at least one source in other configurations. Fixes: #25400
* | | Merge branch 'release-3.28'Brad King2023-11-140-0/+0
|\ \ \
| * \ \ Merge topic 'genex-fix-short-circuit' into release-3.28Brad King2023-11-143-1/+6
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 27244a8f73 cmGeneratorExpressionNode: Fix short-circuit logic Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8966
* | \ \ \ Merge topic 'genex-fix-short-circuit'Brad King2023-11-143-1/+6
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 27244a8f73 cmGeneratorExpressionNode: Fix short-circuit logic Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8966
| * | | | cmGeneratorExpressionNode: Fix short-circuit logicMartin Duffy2023-11-133-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix logic added by commit 634079b86d (cmGeneratorExpressionEvaluator: Short-circuit boolean operators, 2023-09-11, v3.28.0-rc1~47^2) and add missing test cases. Fixes: #25412
* | | | | Merge branch 'release-3.28'Brad King2023-11-140-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge branch 'release-3.27' into release-3.28Brad King2023-11-140-0/+0
| |\ \ \ \
* | \ \ \ \ Merge branch 'release-3.27'Brad King2023-11-140-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge branch 'FindOpenMP-5.1-and-5.2' into release-3.27Brad King2023-11-131-0/+2
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !8965
* | \ \ \ \ \ Merge branch 'release-3.28'Brad King2023-11-140-0/+0
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | |
| * | | | | | Merge topic 'FindOpenMP-5.1-and-5.2' into release-3.28Brad King2023-11-141-0/+2
| |\ \ \ \ \ \ | | | |/ / / / | | |/| / / / | | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2859be7575 FindOpenMP: Add support for openmp 5.1 (llvm 17) and 5.2 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Markus Mützel <markus.muetzel@gmx.de> Merge-request: !8965
* | | | | | Merge topic 'FindOpenMP-5.1-and-5.2'Brad King2023-11-141-0/+2
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2859be7575 FindOpenMP: Add support for openmp 5.1 (llvm 17) and 5.2 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Markus Mützel <markus.muetzel@gmx.de> Merge-request: !8965
| * | | | | FindOpenMP: Add support for openmp 5.1 (llvm 17) and 5.2Christoph Reiter2023-11-131-0/+2
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | llvm 17 now defaults to openmp 5.1; see LLVM commit `0c6f2f629cc0`. It makes FindOpenMP set OPENMP_FOUND and OpenMP_C_SPEC_DATE, but not OpenMP_C_VERSION, because it doesn't know the version mapping. Add the spec date to the version mapping for 5.1 and 5.2 to make things work again.
* | | | | CMake Nightly Date StampKitware Robot2023-11-141-1/+1
| |_|_|/ |/| | |
* | | | Merge topic 'make-test-depend-on-all'Brad King2023-11-1316-0/+75
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5e0c1777a3 Optionally make `test` target depend on `all` eaa00d4dfa Tests: Add case to verify that 'make test' does not 'make all' Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: Jason Juang <jasjuang@gmail.com> Merge-request: !8956
| * | | | Optionally make `test` target depend on `all`William Sciaroni2023-11-1010-0/+46
| | | | | | | | | | | | | | | | | | | | Fixes: #8774
| * | | | Tests: Add case to verify that 'make test' does not 'make all'Brad King2023-11-107-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | Place it in a new `RunCMake.BuiltinTargets` umbrella test meant to cover behavior of targets builtin to CMake.
* | | | | Merge topic 'link-deduplicate-libs'Brad King2023-11-13125-69/+765
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7b99c42e57 Link step: Enable to configure deduplication of libraries 07501c1678 Link Step: Introduce EntriesProcessing class Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !8946
| * | | | | Link step: Enable to configure deduplication of librariesMarc Chevrier2023-11-09125-28/+631
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some platforms, Apple or Windows for instance, do not require to duplicate static libraries to resolve mutual dependencies. Moreover, Xcode version 15 emits a warning if a library is duplicated. On Windows, enable a better control of libraries order. Fixes: #20722, #25297
| * | | | | Link Step: Introduce EntriesProcessing classMarc Chevrier2023-11-081-43/+136
| |/ / / / | | | | | | | | | | | | | | | | | | | | This refactoring is done in preparation of the possibility to configure the deduplication of the libraries as well as the order on the link command.
* | | | | Merge topic 'ci-html-docs'Brad King2023-11-131-0/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7073a6d278 ci/sphinx: Add html output as artifacts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8960
| * | | | | ci/sphinx: Add html output as artifactsKyle Edwards2023-11-091-0/+2
| | |_|_|/ | |/| | |
* | | | | CMake Nightly Date StampKitware Robot2023-11-131-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2023-11-121-1/+1
| | | | |
* | | | | CMake Nightly Date StampKitware Robot2023-11-111-1/+1
| | | | |
* | | | | Merge topic 'ctest-remove-binary-dir-error'Brad King2023-11-109-24/+61
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 07edab8ef2 ctest_empty_binary_directory: Report more detail in failure message Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !8959
| * | | | | ctest_empty_binary_directory: Report more detail in failure messageBrad King2023-11-099-24/+61
| | |/ / / | |/| | |
* | | | | Merge topic 'cmtargetexport-iwyu'Brad King2023-11-102-2/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c2974463d7 cmTargetExport: Analyze with IWYU Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8961
| * | | | | cmTargetExport: Analyze with IWYUKyle Edwards2023-11-092-2/+3
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | Since there is no cmTargetExport.cxx, cmTargetExport.h was not being analyzed by IWYU. Associate cmTargetExport.h with cmExportSet.cxx.
* | | | | CMake Nightly Date StampKitware Robot2023-11-101-1/+1
|/ / / /
* | | | Merge branch 'release-3.28'Brad King2023-11-090-0/+0
|\ \ \ \ | | |_|/ | |/| |
| * | | Merge topic 'find_cudatoolkit_cufile_name' into release-3.28Brad King2023-11-091-4/+4
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b38a8e77cb FindCUDAToolkit: Search for cufile library name being lowercase Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8955
* | \ \ \ Merge topic 'find_cudatoolkit_cufile_name'Brad King2023-11-091-4/+4
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | b38a8e77cb FindCUDAToolkit: Search for cufile library name being lowercase Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8955
| * | | | FindCUDAToolkit: Search for cufile library name being lowercaseRobert Maynard2023-11-081-4/+4
| |/ / / | | | | | | | | | | | | Fixes #25398
* | | | CMake Nightly Date StampKitware Robot2023-11-091-1/+1
| |/ / |/| |
* | | Merge topic 'doct'Brad King2023-11-081-4/+31
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 7b4983536a Help:test prop WILL_FAIL clarify and example Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8937
| * | | Help:test prop WILL_FAIL clarify and examplescivision2023-11-071-4/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes the WILL_FAIL behavior explicit. Users could be confused because some other build systems treat equivalent test properties as allowing a failure, but still pass on a passing test, and may catch SIGABRT unlike CMake. We show an example of how to wrap a test so that sigabrt, segfault, etc. are also handled by WILL_FAIL.
* | | | Merge topic 'cuda_support_CMAKE_TRY_COMPILE_TARGET_TYPE'Brad King2023-11-084-0/+13
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d7642a7d42 CUDA: Support CMAKE_TRY_COMPILE_TARGET_TYPE of STATIC_LIBRARY Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8953
| * | | | CUDA: Support CMAKE_TRY_COMPILE_TARGET_TYPE of STATIC_LIBRARYRobert Maynard2023-11-074-0/+13
| | | | |
* | | | | Merge topic 'doc-genex-compiler-ids'Brad King2023-11-081-0/+12
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ae72b04418 Help: Document when <LANG>_COMPILER_ID genex learned to support multiple ids Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8952