summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* HIP: Extract clang compiler details from hipccRobert Maynard2021-06-071-0/+35
|
* ROCMClang: Add the ROCm toolkit derived clang compiler to CMakeRobert Maynard2021-06-0712-1/+92
|
* Compilers: protect use of __has_includeZack Galbreath2021-06-072-0/+12
| | | | If the compiler does not have __has_include, pretend the answer is always no
* cmGeneratorTarget: Clear cached link implementation when a source is addedBrad King2021-06-041-0/+1
| | | | | | Adding a source file at generate time can cause the linker language or other settings to change that affect `GetLinkImplementationLibraries` and friends.
* Merge topic 'env-toolchain-file'Brad King2021-06-0417-0/+86
|\ | | | | | | | | | | | | 6c34ed9b87 cmake: Allow CMAKE_TOOLCHAIN_FILE to be set by environment variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6188
| * cmake: Allow CMAKE_TOOLCHAIN_FILE to be set by environment variableBrad King2021-06-0317-0/+86
| | | | | | | | | | When no `CMAKE_TOOLCHAIN_FILE` is explicitly specified while creating a new build tree, check for an environment variable of the same name.
* | Merge topic 'implicit-link-static'Brad King2021-06-0443-37/+322
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 1d7fddca8e CMakeParseImplicitLinkInfo: Honor GNU static runtime library flags 629eb3926b Tests: Extend ParseImplicit*Info with static GNU runtime library flags 9d0f8c3e56 Tests: Teach RunCMake.ParseImplicitLinkInfo to match output by regex Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6185
| * | CMakeParseImplicitLinkInfo: Honor GNU static runtime library flagsBrad King2021-06-037-3/+40
| | | | | | | | | | | | | | | | | | | | | | | | With flags like `-static-libstdc++` or `-static-libgfortran`, the GNU compiler driver adds `-Bstatic ... -Bdynamic` around its language runtime library. Convert the libraries in between these to absolute paths so that mixed-language linking honors the static runtime libraries.
| * | Tests: Extend ParseImplicit*Info with static GNU runtime library flagsBrad King2021-06-0312-1/+249
| | | | | | | | | | | | | | | Generate sample input data with GNU 10.2.1 compilers using flags like `-static-libstdc++` and `-static-libgfortran`.
| * | Tests: Teach RunCMake.ParseImplicitLinkInfo to match output by regexBrad King2021-06-0330-35/+35
| |/ | | | | | | | | As in commit 6bc6fc2a7f (Tests: Teach RunCMake.ParseImplicitIncludeInfo to match output by regex, 2019-04-08, v3.14.2~5^2~1).
* | Merge topic 'ci-clang-analyzer'Brad King2021-06-0425-2917/+2467
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | da14f4e19e gitlab-ci: add job to build with clang-analyzer adc38da49f ci: add clang-analyzer to Fedora base image b6c4d93dcd clang-analyzer: Suppress warnings in intentional use-after-move cases c1b575f4d1 clang-analyzer: rename from scan-build in comments dbfb50cd72 cmFileAPICodemodel: Assert input in DirectoryObject::DumpInstaller 410bf8ed4f cmStandardLevelResolver: Fix size assertion in constructor 82584b99e3 jsoncpp: Revert "Code style: add missed explicit 'this->'" Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !6189
| * | gitlab-ci: add job to build with clang-analyzerBrad King2021-06-035-18/+32
| | | | | | | | | | | | | | | Update the exceptions in `CTestCustom.cmake.in` to match this job's needs. Drop exceptions needed only by our previous nightly build.
| * | ci: add clang-analyzer to Fedora base imageBrad King2021-06-032-1/+2
| | |
| * | clang-analyzer: Suppress warnings in intentional use-after-move casesBrad King2021-06-032-0/+6
| | |
| * | clang-analyzer: rename from scan-build in commentsBrad King2021-06-0314-14/+14
| | |
| * | cmFileAPICodemodel: Assert input in DirectoryObject::DumpInstallerBrad King2021-06-031-0/+1
| | | | | | | | | | | | This tells clang-analyzer that the `gen` argument is never `nullptr`.
| * | cmStandardLevelResolver: Fix size assertion in constructorBrad King2021-06-031-1/+1
| | | | | | | | | | | | Assert sizes of the constructed vectors, not the moved-from inputs.
| * | jsoncpp: Revert "Code style: add missed explicit 'this->'"Kitware Robot2021-06-033-2883/+2411
| |/ | | | | | | | | Revert the part of commit 209daa20b2 (Code style: add missed explicit 'this->', 2021-01-05, v3.20.0-rc1~213^2) that updated third-party code.
* | Merge branch 'release-3.20'Brad King2021-06-040-0/+0
|\ \
| * \ Merge topic 'ci-sccache-consistent-builds' into release-3.20Brad King2021-06-041-33/+18
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 9d7ebb47ea ci: use consistent sccache builds Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6156
* | \ \ Merge topic 'ci-sccache-consistent-builds'Brad King2021-06-041-33/+18
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 95faf9cb96 Merge branch 'master' into ci-sccache-consistent-builds 9d7ebb47ea ci: use consistent sccache builds Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6156
| * \ \ \ Merge branch 'master' into ci-sccache-consistent-buildsBrad King2021-06-031424-10453/+28901
| |\ \ \ \ | | |_|/ / | |/| | / | | | |/ | | |/|
| * | | ci: use consistent sccache buildsBen Boeckel2021-06-021-33/+18
| | | |
* | | | CMake Nightly Date StampKitware Robot2021-06-041-1/+1
| |/ / |/| |
* | | Merge topic 'find_item-NO_CACHE'Brad King2021-06-0319-54/+700
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 87b71eec62 find_*: Add support for option NO_CACHE Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !6181
| * | | find_*: Add support for option NO_CACHEMarc Chevrier2021-06-0219-54/+700
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Request that find result is stored in a normal variable rather than a cache entry. Fixes: #20687 Issue: #20743
* | | | Merge topic 'doc_regex'Brad King2021-06-035-6/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0d210b92fa Help: links to CMake regex syntax Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6179
| * | | | Help: links to CMake regex syntaxMichael Hirsch2021-06-025-6/+10
| | | | |
* | | | | Merge topic 'ctest-coverage-no-dir'Brad King2021-06-033-0/+14
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5d5610b04f CTest: Exit coverage handling early if no binary dir Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6144
| * | | | | CTest: Exit coverage handling early if no binary dirJoseph Snyder2021-06-023-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check for the existence of the Binary directory string before checking for coverage files. If the directory is not specified, write an error message and do not do any checking. Fixes: #22102
* | | | | | Merge topic 'ninja-multi-config-default-configs-doc'Brad King2021-06-031-1/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dbe3f8eee7 Help: Clarify default value of CMAKE_CONFIGURATION_TYPES for NMC Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6184
| * | | | | | Help: Clarify default value of CMAKE_CONFIGURATION_TYPES for NMCKyle Edwards2021-06-021-1/+3
| |/ / / / / | | | | | | | | | | | | | | | | | | Fixes: #22266
* | | | | | Merge topic 'update-kwsys'Brad King2021-06-031-3/+4
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1b6fbdf1d7 Merge branch 'upstream-KWSys' into update-kwsys fc5b7905ed KWSys 2021-06-02 (ad35b3ba) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6183
| * \ \ \ \ \ Merge branch 'upstream-KWSys' into update-kwsysBrad King2021-06-021-3/+4
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | # By KWSys Upstream * upstream-KWSys: KWSys 2021-06-02 (ad35b3ba)
| | * | | | | KWSys 2021-06-02 (ad35b3ba)KWSys Upstream2021-06-021-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit ad35b3bae42fe21b8ea1d35799c8f141c9d5a2ec (master). Upstream Shortlog ----------------- Adriaan de Groot (1): e65c5693 testSystemTools: apply root-check to more systems
* | | | | | | Merge topic 'depfile-no-vstlog'Brad King2021-06-035-47/+0
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f0e9d74a2d cmake_transform_depfile: Remove unused incomplete vstlog support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6182
| * | | | | | | cmake_transform_depfile: Remove unused incomplete vstlog supportBrad King2021-06-025-47/+0
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit b2c14bc774 (cmake -E: Add cmake_transform_depfile internal command, 2020-10-02, v3.20.0-rc1~684^2~2) a partial implementation for converting MSBuild "TLog" format files was added. However, it is unused and incomplete: * Does not enforce absolute paths as TLog docs require. * Does not upper-case paths as TLog docs recommend. * The TLog format semantics are not equivalent to `out: in`. Remove the unused TLog transform infrastructure to avoid confusion. Issue: #20286
* | | | | | | CMake Nightly Date StampKitware Robot2021-06-031-1/+1
|/ / / / / /
* | | | | | Merge topic 'command_target'Brad King2021-06-029-7/+65
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1cb4f592a0 add_custom_command: Target-dependent generator expression support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6176
| * | | | | | add_custom_command: Target-dependent generator expression supportRaul Tambre2021-05-319-7/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OUTPUT variant with a TARGET given to allow resolving target-based generator expressions wouldn't work because OUTPUT is resolved before generator targets are created, i.e. FindGeneratorTargetToUse() returns nullptr. This is a known limitation, see #21364. Implements #21336.
* | | | | | | Merge topic 'get-runtime-dependencies-file-filter'Brad King2021-06-0212-103/+258
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a12639e658 file(GET_RUNTIME_DEPENDENCIES): Add POST_{IN,EX}CLUDE_FILES arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6170
| * | | | | | | file(GET_RUNTIME_DEPENDENCIES): Add POST_{IN,EX}CLUDE_FILES argumentsKyle Edwards2021-06-0112-103/+258
| | | | | | | |
* | | | | | | | Merge branch 'release-3.20'Brad King2021-06-020-0/+0
|\ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ | |/| | | | | |
| * | | | | | | Merge topic 'msvc_cxx20_23' into release-3.20Brad King2021-06-022-4/+20
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 886e27062b Clang/MSVC: C++20 final flag, C++23 support 3aaf1d91bf MSVC: C++20 final flag, C++23 support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex <leha-bot@yandex.ru> Acked-by: Michael Hirsch <michael@scivision.dev> Merge-request: !6174
* | \ \ \ \ \ \ \ Merge topic 'msvc_cxx20_23'Brad King2021-06-022-4/+20
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | / / | |_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 886e27062b Clang/MSVC: C++20 final flag, C++23 support 3aaf1d91bf MSVC: C++20 final flag, C++23 support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex <leha-bot@yandex.ru> Acked-by: Michael Hirsch <michael@scivision.dev> Merge-request: !6174
| * | | | | | | Clang/MSVC: C++20 final flag, C++23 supportRaul Tambre2021-05-291-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added in LLVM commit a8f75d497daa2684a03909d7c31d5bce11b427e1, will be released in 13.0.
| * | | | | | | MSVC: C++20 final flag, C++23 supportRaul Tambre2021-05-291-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Microsoft intends to ship the final C++20 flag in VS 16.11 albeit with a few parts missing due planned ABI breaking changes. The current 16.11 Preview 1 toolchain version is 19.29.30129.3, so let's restrict based on that.
* | | | | | | | CMake Nightly Date StampKitware Robot2021-06-021-1/+1
| | | | | | | |
* | | | | | | | Merge topic 'install-imported-runtime-artifacts'Brad King2021-06-0122-88/+746
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f7ba3a0589 FileAPI: Populate information for IMPORTED_RUNTIME_ARTIFACTS df7040a271 install(): Add IMPORTED_RUNTIME_ARTIFACTS mode 60e752ced8 Refactor: Move common methods into cmInstallGenerator Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6162
| * | | | | | | | FileAPI: Populate information for IMPORTED_RUNTIME_ARTIFACTSKyle Edwards2021-05-315-3/+86
| | | | | | | | |