summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'p1689r4-updates'Brad King2021-06-111-0/+3
|\ | | | | | | | | | | | | | | | | | | | | ccc0466fc5 cmScanDepFormat: P1689R4: Implement source-path related fields 3e5b609547 cmScanDepFormat: P1689R4: Make work-directory optional aab9a5fc3e cmScanDepFormat: P1689R4: Factor out primary-output field b0a8fa959c cmScanDepFormat: P1689R4: Diagnose invalid provides/requires json type 82c867ad85 cmScanDepFormat: P1689R4: Flatten future-compile members into parent Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6202
| * cmScanDepFormat: P1689R4: Make work-directory optionalBen Boeckel2021-06-091-0/+1
| |
| * cmScanDepFormat: P1689R4: Factor out primary-output fieldBen Boeckel2021-06-091-0/+1
| |
| * cmScanDepFormat: P1689R4: Flatten future-compile members into parentBen Boeckel2021-06-091-0/+1
| |
* | Add directory property to list imported targetsBrad King2021-06-104-0/+23
| | | | | | | | | | | | | | Model the change after commit cbca65826c (Add directory property to list buildsystem targets, 2016-09-19, v3.7.0-rc1~79^2~1). Fixes: #22291
* | Merge topic 'vs-custom-depfile'Brad King2021-06-103-8/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 526e2ef71c VS: Add support for add_custom_command DEPFILE 794ad78abb Help: Generalize release note filename for add_custom_command DEPFILE 7291f31254 cmTransformDepfile: Add support for MSBuild AdditionalInputs format a6de8ec51b cmTransformDepfile: Make directory for transformed depfile automatically Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6206
| * | VS: Add support for add_custom_command DEPFILEBrad King2021-06-092-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | Transform the depfile into MSBuild `AdditionalInputs` content. Add MSBuild Targets to update `AdditionalInputs` and the `.tlog` files for future builds without actually modifying the `.vcxproj` file. Fixes: #20286
| * | Help: Generalize release note filename for add_custom_command DEPFILEBrad King2021-06-092-5/+5
| | | | | | | | | | | | | | | Rename the note added by commit d67cc4882d (Xcode: Add support of DEPFILE for add_custom_command, 2021-04-15) to be more general.
* | | Merge topic 'ctest_custom_details'Brad King2021-06-101-0/+11
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 02f1271bdf ctest: allow test output to override the 'details' field Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6204
| * | | ctest: allow test output to override the 'details' fieldZack Galbreath2021-06-091-0/+11
| | |/ | |/| | | | | | | | | | | | | Parse test output for <CTestDetails>...</CTestDetails>. If found, use this value to override the default 'Details' string reported to CDash.
* | | Merge topic 'doc-ctest-interactive-popups'Brad King2021-06-101-5/+7
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | cf8710da74 Help: Document ctest(1) --interactive-debug-mode limitation Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Michael Hirsch <michael@scivision.dev> Merge-request: !6211
| * | | Help: Document ctest(1) --interactive-debug-mode limitationBrad King2021-06-091-5/+7
| |/ / | | | | | | | | | | | | Fixes: #22287 Issue: #20115
* | | Help: Document special "CTEST_FULL_OUTPUT" test output stringBrad King2021-06-092-0/+6
|/ /
* | Merge topic 'help-presets'Brad King2021-06-091-0/+13
|\ \ | | | | | | | | | | | | | | | | | | | | | b00512e692 Help: presets: add note for ExternalProject users with env vars Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !6201
| * | Help: presets: add note for ExternalProject users with env varsMichael Hirsch2021-06-081-0/+13
| |/ | | | | | | | | | | | | Although this behavior is implied in the existing help text, I think this use case is common and could be puzzling to those who do not thoroughly read the existing help text. I think that warrants a "Note:" on this page.
* | Merge topic 'ctest_measurement_file'Brad King2021-06-093-2/+24
|\ \ | | | | | | | | | | | | | | | | | | cbcb92d1cb ctest: add support for attaching files to tests at run time Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6192
| * | ctest: add support for attaching files to tests at run timeZack Galbreath2021-06-083-2/+24
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Allow tests to specify files to upload at runtime. Previously this was only possible to specify at configure time with the ATTACHED_FILES test properties. This commit also fixes a bug in how our test data tarballs were generated by CTest. Previously, if you tried to attach a file outside of the binary directory, CTest would generate a tar file with a relative path, and tar would not allow you to extract it. We resolve this problem by creating tar files with a flat directory structure instead. Fixes: #22284
* | Merge topic 'add_hip_language'Brad King2021-06-0915-6/+107
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8514ee9b31 HIP: analyze output of `hipcc` to determine default GPU architecture 20d086f1a2 HIP: All HIP tests now run on CMake's current AMD hardware 2e86e50c2f HIP: Add HIP to all the Check* modules 947dbed0aa HIP: Automatically inject the `hip::device` runtime target b50bfc8913 HIP: Add language to CMake ff0d2858e1 HIP: Extract clang compiler details from hipcc bd844387df ROCMClang: Add the ROCm toolkit derived clang compiler to CMake 590553f322 Compilers: protect use of __has_include ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Zack Galbreath <zack.galbreath@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Acked-by: Axel Huebl <axel.huebl@plasma.ninja> Merge-request: !6121
| * HIP: analyze output of `hipcc` to determine default GPU architectureZack Galbreath2021-06-072-3/+4
| |
| * HIP: Add language to CMakeRobert Maynard2021-06-0714-6/+105
| |
| * ROCMClang: Add the ROCm toolkit derived clang compiler to CMakeRobert Maynard2021-06-071-0/+1
| |
* | Merge topic 'install-with-runtime-dependencies'Brad King2021-06-084-2/+144
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8d898cb3e1 FileAPI: Add integration for runtime dependency installers 72f2448e82 Help: Add documentation for runtime dependency installation 0c3c6acaff Tests: Add tests for new options 4910132d8c install: Add RUNTIME_DEPENDENCY_SET mode bc8a4a06a4 install(IMPORTED_RUNTIME_ARTIFACTS): Add RUNTIME_DEPENDENCY_SET option 3e7d3c252a install(TARGETS): Add RUNTIME_DEPENDENCY_SET argument ed3633d88c install(TARGETS): Add RUNTIME_DEPENDENCIES option f2617cf8e6 Source: Add cmInstallRuntimeDependencySet ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6186
| * | FileAPI: Add integration for runtime dependency installersKyle Edwards2021-06-041-0/+24
| | |
| * | Help: Add documentation for runtime dependency installationKyle Edwards2021-06-043-2/+120
| | |
* | | Merge topic 'compile-options-order'Brad King2021-06-086-10/+33
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8f68bcad8f Tests: Add cases verifying flag ordering rules ccc83ce162 Help: Document order of flags from CMAKE_<LANG>_FLAGS and COMPILE_OPTIONS df79fe055b Help: Remove incorrect "versionadded" for CMAKE_<LANG>_FLAGS_<CONFIG> c48d2d8480 VS: Place per-source preprocessor definitions after target-wide ones Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6187
| * | | 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-031-0/+7
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 'cpack-deb-minor-fixes'Brad King2021-06-081-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ed1f3a5fa5 CPackDeb: output the error message when no description can be made ece24b343a Help/cpack_gen/freebsd: improve wording for Debian fallbacks Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !6196
| * | | Help/cpack_gen/freebsd: improve wording for Debian fallbacksBen Boeckel2021-06-071-2/+2
| | |/ | |/| | | | | | | | | | Documentation should describe what happens, and "we may as well" seems way too conversational.
* | | Help: Remove recommendations for using CMAKE_CFG_INTDIRCraig Scott2021-06-062-14/+14
|/ / | | | | | | | | | | Commit e71c4f7729 (CMAKE_CFG_INTDIR: Formally deprecate in favor of $<CONFIG>, 2021-05-27) only updated the docs for CMAKE_CFG_INTDIR itself, but other parts of the docs still used it. Update the other places to avoid referring to the now-deprecated variable.
* | cmake: Allow CMAKE_TOOLCHAIN_FILE to be set by environment variableBrad King2021-06-034-0/+21
|/ | | | | 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 'find_item-NO_CACHE'Brad King2021-06-032-2/+25
|\ | | | | | | | | | | | | | | 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-022-2/+25
| | | | | | | | | | | | | | | | 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
| | |
* | | Help: Clarify default value of CMAKE_CONFIGURATION_TYPES for NMCKyle Edwards2021-06-021-1/+3
| | | | | | | | | | | | Fixes: #22266
* | | Merge topic 'command_target'Brad King2021-06-022-0/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 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-312-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-022-8/+29
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | 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-012-8/+29
| | | |
* | | | Merge topic 'install-imported-runtime-artifacts'Brad King2021-06-013-0/+43
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+5
| | | | |
| * | | | install(): Add IMPORTED_RUNTIME_ARTIFACTS modeKyle Edwards2021-05-312-0/+38
| | |/ / | |/| |
* | | | Merge topic 'link-objects-first'Brad King2021-06-012-0/+93
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-292-0/+93
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Launchers: Support setting linker launchersBobby D Reynolds2021-05-287-0/+50
|/ / | | | | | | Fixes: #18316
* | Merge topic 'doc-test-regex-v-exit-code'Brad King2021-05-283-2/+12
|\ \ | | | | | | | | | | | | | | | | | | 91b8676f8c Help: Clarify {PASS,FAIL}_REGULAR_EXPRESSION semantics w.r.t. exit code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6165
| * | Help: Clarify {PASS,FAIL}_REGULAR_EXPRESSION semantics w.r.t. exit codeBrad King2021-05-273-2/+12
| |/ | | | | | | Also cross-reference them with each other and `SKIP_REGULAR_EXPRESSION`.
* | CMAKE_CFG_INTDIR: Formally deprecate in favor of $<CONFIG>Kyle Edwards2021-05-271-5/+6
|/