summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* VS: Parse comma-separated fields from CMAKE_GENERATOR_PLATFORMBrad King2023-04-0510-3/+135
|
* VS: Defer Windows SDK selection until CMAKE_GENERATOR_PLATFORM is knownBrad King2023-04-058-8/+37
| | | | Prepare to teach `CMAKE_GENERATOR_PLATFORM` to affect SDK selection.
* VS: Simplify logic to require SDK for Windows StoreBrad King2023-04-053-12/+14
| | | | | | Revise logic added by commit d7e863c1c1 (VS: Do not fail on Windows 10 with VS 2015 if no SDK is available, 2016-01-21, v3.4.3~1^2) to make the requirement decision locally and simplify signatures.
* Tests: Teach RunCMake_TEST_FILTER to account for test variant descriptionBrad King2023-04-051-2/+6
|
* Merge topic 'doc-lang-flags'Brad King2023-04-036-12/+55
|\ | | | | | | | | | | | | | | | | | | 561ae21f40 Help: Clarify that {add,target}_compile_options are not used for linking 530faee017 Help: Clarify that CMAKE_<LANG>_FLAGS are used when driving linking f93b13151e Help: Link to COMPILE_LANGUAGE genex from add_compile_options Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !8384
| * Help: Clarify that {add,target}_compile_options are not used for linkingBrad King2023-03-316-3/+31
| | | | | | | | | | | | Link to alternatives that can be used for adding link options. Issue: #24662
| * Help: Clarify that CMAKE_<LANG>_FLAGS are used when driving linkingBrad King2023-03-312-12/+23
| | | | | | | | | | | | | | | | State explicitly that these flags are used when driving either compiling or linking. For linking, document their order w.r.t. link flags specified by commands. Fixes: #24662
| * Help: Link to COMPILE_LANGUAGE genex from add_compile_optionsBrad King2023-03-311-0/+4
| | | | | | | | | | | | | | Follow-up commit e2830cf16b (Help: Link to COMPILE_LANGUAGE genex from target_compile_options, 2023-03-28). Issue: #24639
* | Merge branch 'release-3.26'Brad King2023-04-030-0/+0
|\ \
| * \ Merge branch 'release-3.25' into release-3.26Brad King2023-04-030-0/+0
| |\ \
* | \ \ Merge branch 'release-3.25'Brad King2023-04-030-0/+0
|\ \ \ \ | | |/ / | |/| |
| * | | Merge branch 'vs-fortran-try_compile' into release-3.25Brad King2023-03-311-1/+0
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !8383
* | \ \ \ Merge branch 'release-3.26'Brad King2023-04-030-0/+0
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Merge topic 'vs-fortran-try_compile' into release-3.26Brad King2023-04-031-1/+0
| |\ \ \ \ | | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | 4da50fe3f4 VS: Remove extra try_compile argument in Intel Fortran check Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8383
* | | | | Merge topic 'vs-fortran-try_compile'Brad King2023-04-031-1/+0
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | 4da50fe3f4 VS: Remove extra try_compile argument in Intel Fortran check Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8383
| * | | | VS: Remove extra try_compile argument in Intel Fortran checkBrad King2023-03-311-1/+0
| | |/ / | |/| | | | | | | | | | | | | | | | | | Refactoring in commit d00d8537f6 (Modules: Use new keyword-dispatched try_compile signature, 2022-09-16, v3.25.0-rc1~115^2) accidentally left one of the old signature arguments behind, causing a warning.
* | | | CMake Nightly Date StampKitware Robot2023-04-031-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2023-04-021-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2023-04-011-1/+1
| |_|/ |/| |
* | | Merge topic 'automoc-cxx-standard'Brad King2023-03-3111-26/+142
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 429a452705 Autogen: Add target's C++ standard to moc_predef.h 21f812e57c Autogen: Split creation and setup of custom targets into separate steps Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8359
| * | | Autogen: Add target's C++ standard to moc_predef.hOrkun Tokdemir2023-03-307-1/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Generate `moc_predef.h` using the same C++ standard level that will be used to compile the target so that the compiler's predefined macros can be more accurately recovered. Fixes: #24624 Qt-Issue: https://bugreports.qt.io/browse/QTBUG-110847
| * | | Autogen: Split creation and setup of custom targets into separate stepsOrkun Tokdemir2023-03-244-25/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Defer the setup step until after compile features have been finalized on normal targets. Later this will help pass the information to Qt tools. Issue: #24624
* | | | Merge topic 'remove-FindPythonInterp-FindPythonLibs'Brad King2023-03-3138-0/+228
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a4c5b91f80 FindPython{Interp,Libs}: Add policy to remove these modules Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !8380
| * | | | FindPython{Interp,Libs}: Add policy to remove these modulesBrad King2023-03-3038-0/+228
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `FindPythonInterp` and `FindPythonLibs` modules have been deprecated since CMake 3.12. Add a policy to pretend they do not exist in order to encourage projects to port to `FindPython` or `FindPython{2,3}`.
* | | | | Merge topic 'ci-FindHDF5'Brad King2023-03-317-1/+89
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 75bb2a2ee4 Tests: Extend FindHDF5 tests to link and run executables 919de8785b ci: Patch HDF5 Fortran compiler wrappers in Fedora jobs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8381
| * | | | | Tests: Extend FindHDF5 tests to link and run executablesBrad King2023-03-305-0/+83
| | | | | | | | | | | | | | | | | | | | | | | | Verify that this works using both targets and variables.
| * | | | | ci: Patch HDF5 Fortran compiler wrappers in Fedora jobsBrad King2023-03-302-1/+6
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Fedora's HDF5 packages for OpenMPI and MPICH, the `h5pfc` compiler wrappers for Fortran use the wrong search path for their Fortran modules. Patch them locally in CI jobs until it is fixed in Fedora upstream.
* | | | | Merge topic 'cuda-arch-nvcc-options-file'Brad King2023-03-311-2/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6546da83b3 CUDA: Fix CUDA architecture flags for nvcc response files Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Robert Maynard <robertjmaynard@gmail.com> Merge-request: !8379
| * | | | | CUDA: Fix CUDA architecture flags for nvcc response filesBrad King2023-03-301-2/+2
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `nvcc --options-file` does not parse unquoted arguments in a response file correctly if they contain `[]`. Quote the `--generate-code=` flags we add for CUDA architectures. Fixes: #24657
* | | | | Merge topic 'presets-add-trace'Brad King2023-03-3128-46/+455
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8e579b0228 presets: Add trace options to configure presets Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !8254
| * | | | | presets: Add trace options to configure presetsArtin Alavi2023-03-3028-46/+455
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Add JSON schema version 7 to support them. Fixes: #22543
* | | | | Merge topic 'strip-macos'Brad King2023-03-314-9/+51
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 689616785f macOS: Do not pass Apple-specific flags to llvm-strip Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8374
| * | | | | macOS: Do not pass Apple-specific flags to llvm-stripBrad King2023-03-294-9/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit cf82300a63 (BinUtils: Clarify search logic and make it more consistent, 2021-05-27, v3.21.0-rc1~119^2~2) we prefer `llvm-strip` over `strip` when using Clang. However, since commit 20291e8e72 (install: Fix stripping on macOS, 2019-01-30, v3.14.0-rc1~31^2) on macOS we add flags `-u -r`, needed by Apple's `strip` for executables, but that `llvm-strip` does not need or support. Improve the condition to add Apple-specific flags only when the selected `strip` tool is Apple's. Note that Apple dylibs must be stripped with `-x` with either Apple's `strip` or `llvm-strip`. Fixes: #24601
* | | | | | Merge topic 'binutils-strip-macos'Brad King2023-03-311-1/+9
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ac2562afb3 BinUtils: Avoid llvm-strip on Apple platforms Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8372
| * | | | | | BinUtils: Avoid llvm-strip on Apple platformsBrad King2023-03-301-1/+9
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit cf82300a63 (BinUtils: Clarify search logic and make it more consistent, 2021-05-27, v3.21.0-rc1~119^2~2) we prefer `llvm-strip` over `strip` when using Clang. However, `llvm-strip` seems to produce unusable binaries in cases involving chained fixups. Prefer Apple's `strip` over `llvm-strip` on `APPLE` platforms. We still need to consider `llvm-strip` as a fallback as explained for `llvm-ar` by commit fee36b7a78 (BinUtils: Restore llvm-ar fallback on Apple platforms, 2022-03-15, v3.23.0-rc4~12^2). Issue: #24601
* | | | | | CMake Nightly Date StampKitware Robot2023-03-311-1/+1
| |/ / / / |/| | | |
* | | | | Merge topic 'presets-json-errors'Brad King2023-03-30114-1213/+1930
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 19305afd8a presets: Improve JSON parser and error messages Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: scivision <michael@scivision.dev> Merge-request: !8290
| * | | | | presets: Improve JSON parser and error messagesMartin Duffy2023-03-29114-1213/+1930
| | | | | |
* | | | | | Merge topic 'ci-FindHDF5'Brad King2023-03-3013-23/+234
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d38c752de2 ci: Enable FindHDF5 tests on Linux builds 28c4945a8a ci: Add HDF5 to Debian and Fedora base images ad9e151045 Tests: Add cases covering FindHDF5 variables and imported targets 0e87e6c1a4 Tests: Add FindMPI test environment modification option ee075a53c8 FindHDF5: Record compiler wrapper checks to configure log 72915b1068 FindHDF5: Fix compiler wrapper checks with spaces in path Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8378
| * | | | | | ci: Enable FindHDF5 tests on Linux buildsBrad King2023-03-293-0/+44
| | | | | | |
| * | | | | | ci: Add HDF5 to Debian and Fedora base imagesBrad King2023-03-294-3/+12
| | | | | | |
| * | | | | | Tests: Add cases covering FindHDF5 variables and imported targetsBrad King2023-03-293-0/+143
| | | | | | |
| * | | | | | Tests: Add FindMPI test environment modification optionBrad King2023-03-293-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide a way to configure an environment specific to this test. Avoid setting the environment globally for it in CI jobs.
| * | | | | | FindHDF5: Record compiler wrapper checks to configure logBrad King2023-03-291-9/+21
| | | | | | |
| * | | | | | FindHDF5: Fix compiler wrapper checks with spaces in pathBrad King2023-03-291-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some HDF5 compiler wrappers do not support source file paths that contain spaces. Pass source files to them using a file name in the current working directory to avoid spaces.
* | | | | | | Merge topic 'clang-tidy-module-gitignore'Brad King2023-03-301-0/+8
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 550f6b40bd clang-tidy module: copy .gitignore from top level Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8377
| * | | | | | | clang-tidy module: copy .gitignore from top levelKyle Edwards2023-03-291-0/+8
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since 8b094845, .gitignore entries have been pinned to the top-level .gitignore file. Copy these entries into a .gitignore for the clang-tidy module.
* | | | | | | Merge topic 'codespellrc-no-count'Brad King2023-03-301-1/+0
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c7d978d371 ci: remove "count =" from .codespellrc Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8376
| * | | | | | | ci: remove "count =" from .codespellrcKyle Edwards2023-03-291-1/+0
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since 42445b2c, we've been printing a message for each invocation of codespell. The count print is redundant and clutters the log.
* | | | | | | Merge topic 'ninja-performance'Brad King2023-03-304-34/+22
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 426f3295f6 Ninja: Use more efficient data structures to collect outputs Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8371