summaryrefslogtreecommitdiffstats
path: root/Help/command
Commit message (Collapse)AuthorAgeFilesLines
...
* | | install: Document caveat when EXPORT name matches package nameBrad King2020-03-261-0/+7
| | | | | | | | | | | | Fixes: #20427
* | | file: Add ARCHIVE_{CREATE|EXTRACT} subcommandsCristian Adam2020-03-161-0/+63
| | | | | | | | | | | | Fixes: #20443
* | | Merge topic 'generated-byproducts-docs'Brad King2020-03-122-0/+6
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | 3eb2b62d21 Help: Expand discussion of GENERATED / BYPRODUCTS 1853c7f571 Help: Add missing word in AUTOGEN_TARGET_DEPENDS.rst Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4472
| * | Help: Expand discussion of GENERATED / BYPRODUCTSFeRD (Frank Dana)2020-03-122-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | - Mention the Makefile Generators' `make clean` removal in the BYPRODUCTS section of add_custom_command and add_custom_target - Expand the GENERATED property docs' description of which files will be marked with the property, and of what it implies (including `make clean` removal)
* | | Merge topic 'file-CONFIGURE'Brad King2020-03-101-0/+40
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | a6fee09484 file: Add CONFIGURE subcommand Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4436
| * | | file: Add CONFIGURE subcommandLeander Beernaert2020-03-091-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the `file()` command with a new `CONFIGURE` subcommand that behaves the same as `string(CONFIGURE)` except that it writes the resulting output immediately to a file. Fixes: #20388
* | | | find_*: Add support for REQUIRED keywordSylvain Joubert2020-03-061-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | In the same spirit as the REQUIRED keyword on find_package, this will stop cmake execution with an error on a failed find_program, find_file, find_path or find_library.
* | | | Merge topic 'doc-add_custom_command-depends'Brad King2020-03-061-14/+30
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | | | | 785f2b2df1 Help: Clarify add_custom_command DEPENDS conversion to file paths Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !4434
| * | Help: Clarify add_custom_command DEPENDS conversion to file pathsBrad King2020-03-061-14/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit f5126badd8 (add_custom_command: convert DEPENDS path arguments to absolute paths, 2019-12-18, v3.17.0-rc1~263^2) we updated the documentation to describe the behavior introduced by that commit. However, the behavior was removed again by commit fd0ba705ce (add_custom_command: check if a relative path should be an in-source path, 2020-01-09, v3.17.0-rc1~141^2~4) without updating the documentation. Update the documentation again to describe the behavior as of the latter commit. Spell out the steps that `cmLocalGenerator::GetRealDependency` and `cmTargetTraceDependencies::IsUtility` use to add file-level and target-level dependencies.
* | | cmake_command: Add command to EVAL a CMake script as a stringCristian Adam2020-03-031-2/+52
| | |
* | | Merge topic 'cmake_command-command'Brad King2020-02-273-0/+48
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 54e4f2ad45 cmake_command: Add command to INVOKE other commands by name Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !4286
| * | | cmake_command: Add command to INVOKE other commands by nameCristian Adam2020-02-253-0/+48
| | | | | | | | | | | | | | | | Fixes: #18392
* | | | execute_process: Add ECHO_(OUTPUT|ERROR)_VARIABLE optionsCristian Adam2020-02-241-1/+12
| | | | | | | | | | | | | | | | Fixes: #20378
* | | | Help: Make note that file(READ ... HEX) produces lowercase lettersKyle Edwards2020-02-191-1/+3
| | | |
* | | | string: Add new HEX sub-commandKyle Edwards2020-02-191-0/+11
| | | |
* | | | Merge topic 'doc-sections'Brad King2020-02-181-17/+24
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 22aac6669b Help: install: use bullet lists to sort out target kinds b3f4d50348 Help: ifw.rst: Add toc; mv "Hints" section -> subsection of "Variables" c671966c20 Help: CPackComponent: Sectioning and rewording 05e56b1897 Help: FetchContent, ExternalProject: Command sections -> subsections Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4367
| * | | | Help: install: use bullet lists to sort out target kindsJoachim Wuttke (o)2020-02-171-17/+24
| |/ / /
* | | | Help: string: regex match and replace is a subcase of Search&ReplaceJoachim Wuttke (o)2020-02-171-4/+6
|/ / /
* | | Help: command install: absolute paths unsupported by CPackJoachim Wuttke (o)2020-02-121-3/+10
|/ / | | | | | | | | Advise against absolute DESTINATIONs as they are not supported by CPack installer generators.
* | file: Fix GLOB_RECURSE LIST_DIRECTORIES documentation regarding CMP0009Shane Parris2020-02-111-1/+1
| |
* | cmMarkAsAdvancedCommand: ignore variables which don't exist in the cacheBen Boeckel2020-01-201-0/+6
| | | | | | | | Fixes: #18331
* | add_custom_command: convert DEPENDS path arguments to absolute pathsBen Boeckel2019-12-181-3/+5
| | | | | | | | | | | | | | This is only done if they are "obviously" paths in that they contain a directory separator. Fixes: #17111
* | Merge topic 'function-var-current'Kyle Edwards2019-12-121-0/+6
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 24fdd51f45 Refactor: Replace CMAKE_CURRENT_LIST_DIR with CMAKE_CURRENT_FUNCTION_LIST_DIR 90e3e2a777 cmFunctionCommand: Introduce `CMAKE_CURRENT_FUNCTION*` variables dd54290dab Refactor: Modernize `function` command Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !4000
| * | cmFunctionCommand: Introduce `CMAKE_CURRENT_FUNCTION*` variablesAlex Turbov2019-12-101-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `CMAKE_CURRENT_FUNCTION` Can be used for diagnostic or debugging messages like the `__PRETTY_FUNCTION__` macro of GCC. `CMAKE_CURRENT_FUNCTION_LIST_DIR` Eliminates the necessity of the additional "global" variables inside a module used to access additional "resource" files from functions defined in the module. ...
* | | CUDA: Add cuda meta-features (e.g. ``cuda_std_11``) supportRobert Maynard2019-12-101-3/+3
| | |
* | | Merge topic 'foreach-ZIP_LISTS'Brad King2019-12-091-0/+43
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | d30468a2f6 foreach: Allow multiple iteration variables for `ZIP_LIST` mode f3e51a2b1d foreach: Introduce `IN ZIP_LISTS` mode Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4021
| * | | foreach: Allow multiple iteration variables for `ZIP_LIST` modeAlex Turbov2019-12-071-11/+26
| | | |
| * | | foreach: Introduce `IN ZIP_LISTS` modeAlex Turbov2019-12-011-0/+28
| | | |
* | | | Merge topic 'docs-pch-reorg'Brad King2019-11-181-49/+73
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | cc88ede7a3 Help: Provide guidance on INTERFACE for target_precompile_headers() dae9a808fe Help: Reorganise target_precompile_headers() docs for readability Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4045
| * | | Help: Provide guidance on INTERFACE for target_precompile_headers()Craig Scott2019-11-131-0/+14
| | | | | | | | | | | | | | | | Fixes: #19953
| * | | Help: Reorganise target_precompile_headers() docs for readabilityCraig Scott2019-11-131-49/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Incorporates clarification of behavior when trying to specify REUSE_FROM on a target that already has its own precompile headers set. Fixes: #19970
| * | | Merge topic 'add_custom_command-supports-COMMAND_EXPAND_LISTS' into release-3.16Kyle Edwards2019-11-121-1/+2
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 64f40c5d09 Help: Both add_custom_command signatures support COMMAND_EXPAND_LISTS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4036
* | \ \ \ Merge topic 'ctest_test-repeat'Brad King2019-11-151-0/+20
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 28994115e8 ctest_test: Add option to REPEAT tests 42d5d8f425 cmCTestMultiProcessHandler: Hold repeat mode as a member ed65b3e984 CTest: Rename internal APIs for --repeat options Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4011
| * | | | | ctest_test: Add option to REPEAT testsBrad King2019-11-071-0/+20
| | | | | |
* | | | | | Merge topic 'add_custom_command-supports-COMMAND_EXPAND_LISTS'Kyle Edwards2019-11-121-1/+2
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 64f40c5d09 Help: Both add_custom_command signatures support COMMAND_EXPAND_LISTS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4036
| * | | | | Help: Both add_custom_command signatures support COMMAND_EXPAND_LISTSMarc Aldorasi2019-11-111-1/+2
| | | | | |
* | | | | | Merge topic 'objc-standard-docs'Brad King2019-11-121-1/+10
|\ \ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 665954fa8d ObjC: Document ObjC/ObjCXX standard properties / variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4031
| * | | | | ObjC: Document ObjC/ObjCXX standard properties / variablesCristian Adam2019-11-111-1/+10
| |/ / / / | | | | | | | | | | | | | | | Fixes: #19919
| * | | | Merge topic 'doc-pch-genex' into release-3.16Brad King2019-11-081-0/+11
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f35df783b5 Help: Document target_precompile_headers genex with angle brackets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4015
| * \ \ \ \ Merge topic 'ctest-resource-groups' into release-3.16Kyle Edwards2019-11-071-4/+4
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c1435d9812 Help: Fix error in resource allocation example eb9d945f14 CTest: Rename hardware -> resources for RunCMake tests c544cb6698 CTest: Rename hardware -> resources for source code 6ce27d3a2e cmCTestMultiProcessHandler: Rename resource locking functions a7c1e15cc4 CTest: Rename hardware -> resources for CMake variables, command options 73a40b19ff CTest: Rename "Processes" lexer to "ResourceGroups" af9ed543b0 CTest: Rename PROCESSES test property to RESOURCE_GROUPS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3994
| * \ \ \ \ \ Merge branch 'add_CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY' into ↵Craig Scott2019-11-051-1/+3
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | release-3.16 Merge-request: !3968
| * \ \ \ \ \ \ Merge branch 'fix_load_cache_docs' into release-3.16Brad King2019-11-041-2/+2
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge-request: !3971
| * \ \ \ \ \ \ \ Merge branch 'docs-file-GET_RUNTIME_DEPENDENCIES' into release-3.16Craig Scott2019-11-031-10/+10
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | Merge-request: !3982
* | \ \ \ \ \ \ \ \ Merge topic 'doc-pch-genex'Brad King2019-11-081-0/+11
|\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|/ / / / | |/| | | | | / / / | |_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | f35df783b5 Help: Document target_precompile_headers genex with angle brackets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4015
| * | | | | | | | Help: Document target_precompile_headers genex with angle bracketsBrad King2019-11-081-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When passing a `<header>` inside a generator expression, the closing `>` needs to be encoded as `$<ANGLE-R>`. Add an example to the docs. Fixes: #19940
* | | | | | | | | Merge topic 'ctest-resource-groups'Kyle Edwards2019-11-071-4/+4
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 016601e5e6 Merge branch 'backport-ctest-resource-groups' c1435d9812 Help: Fix error in resource allocation example eb9d945f14 CTest: Rename hardware -> resources for RunCMake tests c544cb6698 CTest: Rename hardware -> resources for source code 6ce27d3a2e cmCTestMultiProcessHandler: Rename resource locking functions a7c1e15cc4 CTest: Rename hardware -> resources for CMake variables, command options 73a40b19ff CTest: Rename "Processes" lexer to "ResourceGroups" af9ed543b0 CTest: Rename PROCESSES test property to RESOURCE_GROUPS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3994
| * | | | | | | | Merge branch 'backport-ctest-resource-groups'Brad King2019-11-051-4/+4
| |\ \ \ \ \ \ \ \ | | | |_|_|_|_|/ / | | |/| | | | | / | | |_|_|_|_|_|/ | |/| | | | | |
| | * | | | | | CTest: Rename hardware -> resources for CMake variables, command optionsCraig Scott2019-11-051-4/+4
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only changes the user-visible effects of renaming hardware allocation to resource allocation. Code changes are the minimum needed to achieve that.
* | | | | | | Merge topic 'refactor-foreach'Brad King2019-11-071-1/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 53227a4ff2 Refactor: Modernize `foreach` code and fix some bugs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3986
| * | | | | | Refactor: Modernize `foreach` code and fix some bugsAlex Turbov2019-11-061-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - fix the typo in `foreach` documentation - fix broken `foreach(... IN ITEMS ... LISTS ...)` - add tests of `foreach` for existed functionality and fixes