summaryrefslogtreecommitdiffstats
path: root/Help/command
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | | | | | | Merge topic 'add_CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY'Craig Scott2019-11-051-1/+3
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 55df3954d3 find_package: Add support for CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3968
| * | | | | | find_package: Add support for CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRYRobert Maynard2019-11-041-1/+3
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the change from commit 1d00ba9ccf (Find: find_package prefers variable CMAKE_FIND_USE_REGISTRY, 2018-11-13, v3.16.0-rc1~461^2~1) to cover the system package registry too. Fixes: #19890
* | | | | | Merge topic 'message-check-types'Craig Scott2019-11-041-3/+101
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7b2dd9dedc Refactor: Use added message types in various modules 949a1e120a message: New message types to mark checks performed by CMake Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3689
| * | | | | | message: New message types to mark checks performed by CMakeAlex Turbov2019-11-021-3/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes #19638. Co-Authored-By: Craig Scott <craig.scott@crascit.com>
* | | | | | | Merge topic 'fix_load_cache_docs'Brad King2019-11-041-2/+2
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | / | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | 657fb0aa6f Help: Clarify load_cache documentation of first parameter Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3971
| * | | | | Help: Clarify load_cache documentation of first parameterCharles Barto2019-11-011-2/+2
| | |/ / / | |/| | | | | | | | | | | | | | | | | | The first parameter is the path to the *directory* containing the `CMakeCache.txt` file, not the file itself.
* | | | | Merge topic 'docs-file-GET_RUNTIME_DEPENDENCIES'Craig Scott2019-11-031-10/+10
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | 23752d5bad Help: Typo and grammar fixes for file(GET_RUNTIME_DEPENDENCIES) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3982
| * | | | Help: Typo and grammar fixes for file(GET_RUNTIME_DEPENDENCIES)Craig Scott2019-11-031-10/+10
| |/ / / | | | | | | | | | | | | | | | | | | | | Note that ``MODULE`` s was rendering strangely, so the wording has been tweaked to avoid needing to specify ``MODULE`` as a plural word. Modules are still libraries, so it is okay to call them as such where it doesn't cause any ambiguity.
* | | | Merge topic 'docs-list-remove_item'Craig Scott2019-11-031-1/+1
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | ad024439f5 Help: list(REMOVE_ITEM) removes all instances, not just the first found Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3977
| * | | Help: list(REMOVE_ITEM) removes all instances, not just the first foundCraig Scott2019-11-021-1/+1
| |/ / | | | | | | Fixes: #19908
| * | Merge branch 'help-file-spelling-error' into release-3.16Brad King2019-10-311-1/+1
| |\ \ | | | | | | | | | | | | Merge-request: !3964
| * \ \ Merge branch 'fix-find_package-doc' into release-3.16Brad King2019-10-301-0/+1
| |\ \ \ | | | | | | | | | | | | | | | Merge-request: !3961
| * \ \ \ Merge branch 'docs-find-vars' into release-3.16Brad King2019-10-281-6/+7
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Merge-request: !3952
* | \ \ \ \ Merge topic 'help-file-spelling-error'Brad King2019-10-311-1/+1
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | e0412a0e0b Help: Fix spelling error in file(GET_RUNTIME_DEPENDENCIES) docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3964
| * | | | | Help: Fix spelling error in file(GET_RUNTIME_DEPENDENCIES) docsMarc Chevrier2019-10-301-1/+1
| | | | | |
* | | | | | Merge topic 'fix-find_package-doc'Brad King2019-10-301-0/+1
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 9a08818e54 Help: Add OPTIONAL_COMPONENTS to config mode signature of find_package. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3961
| * | | | | Help: Add OPTIONAL_COMPONENTS to config mode signature of find_package.Deniz Bahadir2019-10-301-0/+1
| |/ / / /
* | | | | Merge topic 'docs-find-vars'Brad King2019-10-291-6/+7
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | a0a7a45dbc Help: Fix markup errors, improve wording of CMAKE_FIND... variable docs 049dbdd38c Help: Document that <PackageName>_ROOT applies to config packages too Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3952
| * | | | Help: Document that <PackageName>_ROOT applies to config packages tooCraig Scott2019-10-271-6/+7
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The original intent of <PackageName>_ROOT may have been for it to apply only to Find modules, but the implementation of the find_package() command treats modules and config packages the same. Both result in a <PackageName>_ROOT variable being pushed onto the stack of package roots. A config package can also call other find_...() commands, the behavior doesn't apply just to find modules.
* | | | Merge topic 'project-version-buffer-overflow'Craig Scott2019-10-281-1/+2
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | 82cdb26c93 project: Fix potential buffer write-past-end for version components 15a0b0d046 Help: math() expressions must be representable as signed 64-bit Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3948