summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Add cases verifying flag ordering rulesBrad King2021-06-078-3/+95
|
* Help: Document order of flags from CMAKE_<LANG>_FLAGS and COMPILE_OPTIONSBrad King2021-06-035-8/+26
|
* Help: Remove incorrect "versionadded" for CMAKE_<LANG>_FLAGS_<CONFIG>Brad King2021-06-031-2/+0
| | | | | These variables have been around for a long time, but the current form of the document was added later.
* VS: Place per-source preprocessor definitions after target-wide onesBrad King2021-06-032-6/+11
| | | | | | | | | | When the VS 2010+ generators were first implemented in commit 7491f52992 (ENH: first pass at VS 10, can bootstrap CMake, but many tests still fail, 2009-06-25, v2.8.0~546), the per-source preprocessor definitions were placed before target-wide preprocessor definitions for consistency with the behavior of VS 9 2008 and below. However, those generators are not used much anymore. Instead prefer consistency with the order used by the Ninja and Makefile generators.
* 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
| | | | | | | |
| * | | | | | | install(): Add IMPORTED_RUNTIME_ARTIFACTS modeKyle Edwards2021-05-3112-7/+572
| | | | | | | |
| * | | | | | | Refactor: Move common methods into cmInstallGeneratorKyle Edwards2021-05-315-78/+88
| | | | | | | |
* | | | | | | | Merge topic 'link-objects-first'Brad King2021-06-0134-78/+476
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2922-5/+338
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-295-11/+44
| | | | | | | | |
| * | | | | | | | 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
| | | | | | | | |
* | | | | | | | | Merge topic 'binutils-consistency'Brad King2021-06-011-1/+4
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9411766c35 BinUtils: Avoid llvm-objdump versions older than Clang 9 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6175
| * | | | | | | | | BinUtils: Avoid llvm-objdump versions older than Clang 9Brad King2021-05-291-1/+4
| | |_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit cf82300a63 (BinUtils: Clarify search logic and make it more consistent, 2021-05-27) we correctly prefer the more-specific name `llvm-objdump` over `objdump` when using Clang. However, this breaks `file(GET_RUNTIME_DEPENDENCIES)` with `llvm-objdump` from Clang 8 and below. Avoid those older versions of `llvm-objdump`.
* | | | | | | | | CMake Nightly Date StampKitware Robot2021-06-011-1/+1
| | | | | | | | |
* | | | | | | | | Merge topic 'UseJava-update-doc'Marc Chevrier2021-05-311-4/+8
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a42add6cd6 UseJava: Add version for RESOURCES option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6178
| * | | | | | | | | UseJava: Add version for RESOURCES optionMarc Chevrier2021-05-301-4/+8
| | |_|_|_|_|_|_|/ | |/| | | | | | |
* | | | | | | | | 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-2969-3/+263
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2863-1/+261
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #18316