summaryrefslogtreecommitdiffstats
path: root/Help/command
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'doc-cleanups-3.21' into release-3.21Craig Scott2021-07-202-29/+45
|\ | | | | | | | | | | | | | | | | | | 8d1944c675 Help: Expand details for file(COPY_FILE) c8ea886123 Help: Re-order file() sub-commands in Filesystem section b5a96716eb Help: Clarify which project() call PROJECT_IS_TOP_LEVEL is for 8be7694d97 Help: Fix trivial typo Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6361
| * Help: Expand details for file(COPY_FILE)Craig Scott2021-07-191-2/+18
| |
| * Help: Re-order file() sub-commands in Filesystem sectionCraig Scott2021-07-191-28/+28
| | | | | | | | | | | | | | | | | | | | | | | | The file(COPY_FILE) sub-command is closely related to the file(COPY) sub-command. Move the former to just before the latter for improved continuity. The file(RENAME) sub-command is also somewhat related to file(COPY_FILE), so it was also moved to keep it just before file(COPY_FILE). The file(MAKE_DIRECTORY) sub-command was also moved to just before the file(REMOVE) and file(REMOVE_RECURSE) sub-commands to keep them together and improve logical flow of operations.
| * Help: Fix trivial typoCraig Scott2021-07-181-1/+1
| |
* | Help/ctest_test: add a comment to also update `ctest_memcheck`Ben Boeckel2021-07-191-0/+4
| | | | | | | | | | Since these commands share a common argument parser, the documentation should be kept synchronized.
* | Help/ctest_memcheck: mention `ctest_test` argumentsBen Boeckel2021-07-141-0/+5
|/ | | | | These are handled internally by inheriting `ctest_test`'s argument bindings. Synchronize the documentation.
* Help: Improve readability and accuracy of runtime deps-related contentCraig Scott2021-07-042-55/+64
| | | | | | Duplicated textual patterns are factored out to make the text more readable. The POST_INCLUDE_FILES and POST_EXCLUDE_FILES were also previously missing from the main syntax block for install(RUNTIME_DEPENDENCY_SET).
* Help: Tighten install(SCRIPT) wording for ALL_COMPONENTS optionCraig Scott2021-07-031-6/+7
| | | | | In particular, mention the mutually exclusive nature with the COMPONENT option. Fix the inconsistent way the versionadded details were added for that text too.
* Help: Add missing versionadded 3.21 for file(RENAME) optionsCraig Scott2021-07-031-0/+4
|
* Help: Clarify the usage scope of source_groupHeiko Thiel2021-06-181-0/+3
| | | | Fixes: #18856
* Help: cmake_path: fix erroneous example for IS_PREFIXMarc Chevrier2021-06-121-3/+4
| | | | Fixes: #22302
* Merge topic 'vs-custom-depfile'Brad King2021-06-101-3/+5
|\ | | | | | | | | | | | | | | | | | | 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-091-3/+5
| | | | | | | | | | | | | | | | 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
* | 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 'ctest_measurement_file'Brad King2021-06-091-2/+11
|\ \ | | | | | | | | | | | | | | | | | | 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-081-2/+11
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | 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-092-2/+5
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: Add language to CMakeRobert Maynard2021-06-072-2/+5
| |
* | Help: Add documentation for runtime dependency installationKyle Edwards2021-06-041-0/+108
|/
* Merge topic 'find_item-NO_CACHE'Brad King2021-06-031-2/+19
|\ | | | | | | | | | | | | | | 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-021-2/+19
| | | | | | | | | | | | | | | | 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-033-4/+6
|\ \ | | | | | | | | | | | | | | | | | | 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-023-4/+6
| | |
* | | Merge topic 'command_target'Brad King2021-06-021-0/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 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-311-0/+5
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | 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-021-8/+24
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | 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-011-8/+24
| |/
* | Merge topic 'install-imported-runtime-artifacts'Brad King2021-06-011-0/+33
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | install(): Add IMPORTED_RUNTIME_ARTIFACTS modeKyle Edwards2021-05-311-0/+33
| |/
* | target_link_libraries: Place $<TARGET_OBJECTS> before librariesBrad King2021-05-291-0/+85
|/ | | | | | | | | 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
* Merge topic 'set-cache-keep-normal-variable'Brad King2021-05-251-3/+7
|\ | | | | | | | | | | | | | | d96eb55282 set(CACHE): do not remove normal variable Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !6146
| * set(CACHE): do not remove normal variableMarc Chevrier2021-05-201-3/+7
| | | | | | | | Fixes: #22038
* | install: Implement new install(CODE|SCRIPT) option ALL_COMPONENTSNils Gladitz2021-05-191-1/+7
|/ | | | | | | | | | | In a per-component installation the generated installation scripts are invoked once for each component. Per default custom installation script code added by install(CODE|SCRIPT) only runs for one specific component in this context. The new ALL_COMPONENTS option allows custom script code to be run once for each component being installed.
* Merge topic 'doc-link-compile-options'Brad King2021-05-183-6/+15
|\ | | | | | | | | | | | | | | 2eba7d7524 Help: Add SHELL, LINKER and host/device discussions to property docs b20c1f4880 Help: Make SHELL option examples more generic Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6130
| * Help: Add SHELL, LINKER and host/device discussions to property docsCraig Scott2021-05-153-0/+8
| | | | | | | | | | | | Section headings are also added for each common block to help guide the reader and improve navigation. Fixes: #21640
| * Help: Make SHELL option examples more genericCraig Scott2021-05-151-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | Comments at the bottom of the docs for add_compile_options() and target_compile_options() recommend using other commands if setting compiler definitions. Change the examples we use for the SHELL: functionality to use -option instead of -D so that we don't violate our own recommendations. This also makes the examples more appropriate for use with link options as well. Tweak the wording to not specify the type of option being discussed. This will already be clear from the page the text is included into and it avoids naming unrelated option types for the given page.
* | Help: Clarify calling cmake_minimum_required() inside a functionCraig Scott2021-05-151-2/+7
|/ | | Fixes: #21519
* Help: Fix typos and spelling in documentationJosef Angstenberger2021-05-075-6/+6
|
* Merge topic 'generate-cmake-build-command-parallel'Brad King2021-05-052-5/+19
|\ | | | | | | | | | | | | | | | | | | d2b856bc92 ctest_build: Add the PARALLEL_LEVEL argument fc2ac46043 build_command: Add the PARALLEL_LEVEL argument 4dd4e9dd6c cmGlobalGenerator: Add parallel parameter to GenerateCMakeBuildCommand Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !6069
| * ctest_build: Add the PARALLEL_LEVEL argumentfriendlyanon2021-05-041-0/+8
| | | | | | | | Fixes: #19712
| * build_command: Add the PARALLEL_LEVEL argumentfriendlyanon2021-05-041-5/+11
| | | | | | | | Issue: #19712
* | Merge topic 'doc-tls'Brad King2021-05-051-1/+1
|\ \ | | | | | | | | | | | | | | | | | | 7398993f5b Help: Document CMAKE_TLS_VERIFY variable explicitly Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6064
| * | Help: Document CMAKE_TLS_VERIFY variable explicitlyMichael Hirsch2021-05-041-1/+1
| |/ | | | | | | | | Previously it was mentioned only in the `file` and `ExternalProject` documentation.
* | foreach(): loop variables are only available in the loop scopeMarc Chevrier2021-04-281-1/+4
|/ | | | Fixes: #20553
* Help: Document CTest custom test measurementsZack Galbreath2021-04-271-0/+80
|
* Merge topic 'ctest_junit'Brad King2021-04-271-0/+10
|\ | | | | | | | | | | | | | | | | | | | | 25bf514447 ctest: Add support for writing test results in JUnit XML format Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Zack Galbreath <zack.galbreath@kitware.com> Acked-by: Michael Hirsch <michael@scivision.dev> Acked-by: MvdHurk <maikelvandenhurk@hotmail.com> Acked-by: Alexander Richardson <arichardson.kde@gmail.com> Merge-request: !6020
| * ctest: Add support for writing test results in JUnit XML formatZack Galbreath2021-04-261-0/+10
| | | | | | | | Addresses #18654
* | Merge topic 'file-REAL_PATH-EXPAND_TILDE'Brad King2021-04-262-6/+17
|\ \ | |/ |/| | | | | | | | | | | e4b793c614 file(REAL_PATH): add option EXPAND_TILDE Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Michael Hirsch <michael@scivision.dev> Merge-request: !6033
| * file(REAL_PATH): add option EXPAND_TILDEMarc Chevrier2021-04-212-6/+17
| | | | | | | | | | This option enables the replacement of any leading tilde with the path to the user's home directory.
* | Help: cmake_minimum_required specify max is only for policiesRobert Maynard2021-04-201-6/+8
|/ | | | | | Make it even clearer that for the signature `<version>...<version>` that the second value is only used for policies, and is not a clamp range of supported CMake versions.