summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'env-toolchain-file'Brad King2021-06-041-0/+10
|\ | | | | | | | | | | | | 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-031-0/+10
| | | | | | | | | | 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 'ci-clang-analyzer'Brad King2021-06-0414-13/+14
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | clang-analyzer: rename from scan-build in commentsBrad King2021-06-0312-12/+12
| | |
| * | 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.
* | CMake Nightly Date StampKitware Robot2021-06-041-1/+1
|/
* Merge topic 'find_item-NO_CACHE'Brad King2021-06-035-52/+76
|\ | | | | | | | | | | | | | | 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-025-52/+76
| | | | | | | | | | | | | | | | Request that find result is stored in a normal variable rather than a cache entry. Fixes: #20687 Issue: #20743
* | Merge topic 'ctest-coverage-no-dir'Brad King2021-06-031-0/+7
|\ \ | | | | | | | | | | | | | | | | | | 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-021-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | 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 '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)
* | | Merge topic 'depfile-no-vstlog'Brad King2021-06-034-43/+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-024-43/+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-025-7/+28
|\ \ | | | | | | | | | | | | | | | | | | 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-315-7/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-023-40/+72
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | 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-013-40/+72
| | |
* | | CMake Nightly Date StampKitware Robot2021-06-021-1/+1
| | |
* | | Merge topic 'install-imported-runtime-artifacts'Brad King2021-06-0110-78/+514
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-311-0/+10
| | | |
| * | | install(): Add IMPORTED_RUNTIME_ARTIFACTS modeKyle Edwards2021-05-314-0/+416
| | | |
| * | | Refactor: Move common methods into cmInstallGeneratorKyle Edwards2021-05-315-78/+88
| | | |
* | | | Merge topic 'link-objects-first'Brad King2021-06-0117-78/+231
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3941555d93 target_link_libraries: Place $<TARGET_OBJECTS> before libraries f530b3a267 OpenWatcom: Add infrastructure to link to object files 8a4ca110e4 cmComputeLinkInformation: Improve type safety of item IsPath member 83ad066ed1 cmComputeTargetDepends: Factor out helper to add object library dependency 7f506b95a7 cmGeneratorTarget: Refactor link item lookup 96809a8541 cmGeneratorTarget: Give temporary link impl item an explicit name ddffbb8adb cmMakefile: Register explicit object sources more efficiently 18e42d3e63 cmGeneratorExpressionNode: Constify local variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6166
| * | | | target_link_libraries: Place $<TARGET_OBJECTS> before librariesBrad King2021-05-296-5/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Linkers always use object files explicitly specified on the command line regardless of where they appear. Move them to the front of the list of linked libraries in so that symbols required by the object files can be resolved by any library. Issue: #22149
| * | | | OpenWatcom: Add infrastructure to link to object filesBrad King2021-05-294-11/+43
| | | | |
| * | | | cmComputeLinkInformation: Improve type safety of item IsPath memberBrad King2021-05-297-24/+35
| | | | | | | | | | | | | | | | | | | | Use an enum to avoid implicit conversions to bool.
| * | | | cmComputeTargetDepends: Factor out helper to add object library dependencyBrad King2021-05-282-20/+32
| | | | |
| * | | | cmGeneratorTarget: Refactor link item lookupBrad King2021-05-283-18/+26
| | | | | | | | | | | | | | | | | | | | | | | | | Look up items individually so the call sites can do something with the result besides appending to a vector.
| * | | | cmGeneratorTarget: Give temporary link impl item an explicit nameBrad King2021-05-281-2/+2
| | | | |
| * | | | cmMakefile: Register explicit object sources more efficientlyBrad King2021-05-281-1/+2
| | | | | | | | | | | | | | | | | | | | `AddTargetObject` knows the location of object files.
| * | | | cmGeneratorExpressionNode: Constify local variableBrad King2021-05-281-1/+1
| |/ / /
* | | | CMake Nightly Date StampKitware Robot2021-06-011-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2021-05-311-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2021-05-301-1/+1
| | | |
* | | | Merge topic 'linker-launcher'Brad King2021-05-298-2/+66
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ae108418ae Launchers: Support setting linker launchers 92c8b83641 cmNinjaNormalTargetGenerator: Fix "Language" rule variable d93bfd95f8 Tests/CompilerLauncher: Fix file names and clarify comment Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6092
| * | | | Launchers: Support setting linker launchersBobby D Reynolds2021-05-288-1/+65
| | | | | | | | | | | | | | | | | | | | Fixes: #18316
| * | | | cmNinjaNormalTargetGenerator: Fix "Language" rule variableBobby D Reynolds2021-05-281-1/+1
| | | | | | | | | | | | | | | | | | | | Fixes: commit 3bc63e99e4 (Refactor: Prepare Ninja generator for multi-config, 2019-11-14, v3.17.0-rc1~290^2~3)
* | | | | Merge topic 'fix-compile-db-crash'Brad King2021-05-291-2/+5
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | 316cbbe8d5 Makefiles: Fix CMAKE_EXPORT_COMPILE_COMMANDS crash with custom compile rule Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6173
| * | | | Makefiles: Fix CMAKE_EXPORT_COMPILE_COMMANDS crash with custom compile ruleBrad King2021-05-281-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the fix from commit 67e2130c96 (Makefiles: Fix CMAKE_EXPORT_COMPILE_COMMANDS crash with custom compile rule, 2020-11-20, v3.19.1~8^2) to work for the `<FLAGS>` placeholder too. Also fix the test case to actually enable `EXPORT_COMPILE_COMMANDS` on the test target. Fixes: #22261
* | | | | CMake Nightly Date StampKitware Robot2021-05-291-1/+1
| |_|/ / |/| | |
* | | | Merge topic 'vs-toolset-version'Brad King2021-05-281-0/+3
|\ \ \ \ | |/ / / | | / / | |/ / |/| | | | | | | | a60141feaa VS: Add special case for '-T version=14.29.16.10' under VS 16.10 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6169
| * | VS: Add special case for '-T version=14.29.16.10' under VS 16.10Brad King2021-05-271-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the table of special cases from commit 58a50a3a0a (VS: Fix '-T version=14.28' under VS 16.9, 2021-03-11, v3.19.7~1^2~1). Add a special case for the name VS 16.11 will use for VS 16.10's default toolset, so that it can be used with VS 16.10 too. Using '-T version=14.29.16.10' actually works under VS 16.10 without this change, but only because there is only one 14.29 toolset so the two-component prefix happens to match the right one. Make it explicit. Issue: #21922
| * | CMake 3.20.3v3.20.3Brad King2021-05-271-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2021-05-281-1/+1
| |/ |/|
* | Merge topic 'xcode-link-TARGET_OBJECTS'Brad King2021-05-271-0/+2
|\ \ | | | | | | | | | | | | | | | | | | 2ae72ef74b Xcode: Enable multi-arch TARGET_OBJECTS genex in [INTERFACE_]LINK_LIBRARIES Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6161
| * | Xcode: Enable multi-arch TARGET_OBJECTS genex in [INTERFACE_]LINK_LIBRARIESBrad King2021-05-261-0/+2
| | | | | | | | | | | | This was an oversight in the original implementation.
* | | CMake Nightly Date StampKitware Robot2021-05-271-1/+1
| | |