Cristian Adam
598b676b5e
cmake_command: Add command to EVAL a CMake script as a string
2020-03-03 08:42:13 -05:00
Brad King
c58b9c5ab9
Merge topic 'cmake_command-command'
...
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
2020-02-27 10:21:21 -05:00
Cristian Adam
54e4f2ad45
cmake_command: Add command to INVOKE other commands by name
...
Fixes : #18392
2020-02-25 13:14:17 -05:00
Cristian Adam
6ec274b002
execute_process: Add ECHO_(OUTPUT|ERROR)_VARIABLE options
...
Fixes : #20378
2020-02-24 14:44:14 +01:00
Kyle Edwards
97b639d3f1
Help: Make note that file(READ ... HEX) produces lowercase letters
2020-02-19 09:11:15 -05:00
Kyle Edwards
5395bf05eb
string: Add new HEX sub-command
2020-02-19 09:11:05 -05:00
Brad King
084c14d952
Merge topic 'doc-sections'
...
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
2020-02-18 11:26:27 -05:00
Joachim Wuttke (o)
466b138ea2
Help: string: regex match and replace is a subcase of Search&Replace
2020-02-17 17:42:50 +01:00
Joachim Wuttke (o)
22aac6669b
Help: install: use bullet lists to sort out target kinds
2020-02-17 11:29:50 -05:00
Joachim Wuttke (o)
79e1d86d2c
Help: command install: absolute paths unsupported by CPack
...
Advise against absolute DESTINATIONs as they are not supported
by CPack installer generators.
2020-02-12 19:40:04 +01:00
Shane Parris
b620dc566d
file: Fix GLOB_RECURSE LIST_DIRECTORIES documentation regarding CMP0009
2020-02-11 08:45:35 -05:00
Ben Boeckel
3ec82b713e
cmMarkAsAdvancedCommand: ignore variables which don't exist in the cache
...
Fixes : #18331
2020-01-20 15:49:29 -05:00
Ben Boeckel
f5126badd8
add_custom_command: convert DEPENDS path arguments to absolute paths
...
This is only done if they are "obviously" paths in that they contain a
directory separator.
Fixes : #17111
2019-12-18 13:57:07 -05:00
Kyle Edwards
966a9eece3
Merge topic 'function-var-current'
...
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
2019-12-12 14:00:41 -05:00
Robert Maynard
2467a2b318
CUDA: Add cuda meta-features (e.g. `cuda_std_11
`) support
2019-12-10 17:56:48 -05:00
Alex Turbov
90e3e2a777
cmFunctionCommand: Introduce CMAKE_CURRENT_FUNCTION*
variables
...
`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.
...
2019-12-10 16:43:27 +02:00
Brad King
f62c674202
Merge topic 'foreach-ZIP_LISTS'
...
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
2019-12-09 11:25:35 -05:00
Alex Turbov
d30468a2f6
foreach: Allow multiple iteration variables for ZIP_LIST
mode
2019-12-07 18:03:20 +02:00
Alex Turbov
f3e51a2b1d
foreach: Introduce IN ZIP_LISTS
mode
2019-12-01 22:28:39 +02:00
Brad King
498e3e67b3
Merge topic 'docs-pch-reorg'
...
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
2019-11-18 09:47:35 -05:00
Brad King
c1ae0532f3
Merge topic 'ctest_test-repeat'
...
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
2019-11-15 09:17:26 -05:00
Craig Scott
cc88ede7a3
Help: Provide guidance on INTERFACE for target_precompile_headers()
...
Fixes : #19953
2019-11-14 00:49:31 +11:00
Craig Scott
dae9a808fe
Help: Reorganise target_precompile_headers() docs for readability
...
Incorporates clarification of behavior when trying to specify
REUSE_FROM on a target that already has its own precompile
headers set.
Fixes : #19970
2019-11-14 00:49:31 +11:00
Kyle Edwards
28bc41ca62
Merge topic 'add_custom_command-supports-COMMAND_EXPAND_LISTS' into release-3.16
...
64f40c5d09 Help: Both add_custom_command signatures support COMMAND_EXPAND_LISTS
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4036
2019-11-12 10:02:01 -05:00
Kyle Edwards
7e62ffc028
Merge topic 'add_custom_command-supports-COMMAND_EXPAND_LISTS'
...
64f40c5d09 Help: Both add_custom_command signatures support COMMAND_EXPAND_LISTS
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4036
2019-11-12 10:02:01 -05:00
Brad King
55f7df4961
Merge topic 'objc-standard-docs'
...
665954fa8d ObjC: Document ObjC/ObjCXX standard properties / variables
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4031
2019-11-12 09:47:44 -05:00
Marc Aldorasi
64f40c5d09
Help: Both add_custom_command signatures support COMMAND_EXPAND_LISTS
2019-11-11 13:07:11 -05:00
Cristian Adam
665954fa8d
ObjC: Document ObjC/ObjCXX standard properties / variables
...
Fixes : #19919
2019-11-11 16:10:19 +01:00
Brad King
11e425be9b
Merge topic 'doc-pch-genex' into release-3.16
...
f35df783b5 Help: Document target_precompile_headers genex with angle brackets
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4015
2019-11-08 10:36:30 -05:00
Brad King
c679138469
Merge topic 'doc-pch-genex'
...
f35df783b5 Help: Document target_precompile_headers genex with angle brackets
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4015
2019-11-08 10:36:30 -05:00
Brad King
f35df783b5
Help: Document target_precompile_headers genex with angle brackets
...
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
2019-11-08 09:49:26 -05:00
Brad King
28994115e8
ctest_test: Add option to REPEAT tests
2019-11-07 14:21:18 -05:00
Kyle Edwards
87dcbe0b21
Merge topic 'ctest-resource-groups' into release-3.16
...
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
2019-11-07 13:10:57 -05:00
Kyle Edwards
bea26f5aa0
Merge topic 'ctest-resource-groups'
...
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
2019-11-07 13:10:57 -05:00
Brad King
74569996e8
Merge topic 'refactor-foreach'
...
53227a4ff2 Refactor: Modernize `foreach` code and fix some bugs
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3986
2019-11-07 10:27:59 -05:00
Alex Turbov
53227a4ff2
Refactor: Modernize foreach
code and fix some bugs
...
- fix the typo in `foreach` documentation
- fix broken `foreach(... IN ITEMS ... LISTS ...)`
- add tests of `foreach` for existed functionality and fixes
2019-11-06 16:14:47 +02:00
Brad King
016601e5e6
Merge branch 'backport-ctest-resource-groups'
2019-11-05 12:59:16 -05:00
Craig Scott
a7c1e15cc4
CTest: Rename hardware -> resources for CMake variables, command options
...
Only changes the user-visible effects of renaming hardware
allocation to resource allocation. Code changes are the minimum
needed to achieve that.
2019-11-05 12:08:35 -05:00
Craig Scott
c831e409a5
Merge branch 'add_CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY' into release-3.16
...
Merge-request: !3968
2019-11-05 23:19:14 +11:00
Craig Scott
abb0119350
Merge topic 'add_CMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY'
...
55df3954d3 find_package: Add support for CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3968
2019-11-05 07:17:17 -05:00
Craig Scott
9667996923
Merge topic 'message-check-types'
...
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
2019-11-04 14:11:45 -05:00
Robert Maynard
55df3954d3
find_package: Add support for CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY
...
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
2019-11-04 10:31:16 -05:00
Brad King
94d669ecc7
Merge branch 'fix_load_cache_docs' into release-3.16
...
Merge-request: !3971
2019-11-04 10:26:52 -05:00
Brad King
543ceb9d9e
Merge topic 'fix_load_cache_docs'
...
657fb0aa6f Help: Clarify load_cache documentation of first parameter
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3971
2019-11-04 10:21:27 -05:00
Craig Scott
d0681fda11
Merge branch 'docs-file-GET_RUNTIME_DEPENDENCIES' into release-3.16
...
Merge-request: !3982
2019-11-04 09:41:56 +11:00
Craig Scott
83badd91bf
Merge topic 'docs-file-GET_RUNTIME_DEPENDENCIES'
...
23752d5bad Help: Typo and grammar fixes for file(GET_RUNTIME_DEPENDENCIES)
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3982
2019-11-03 17:40:32 -05:00
Craig Scott
3c8dab73cb
Merge topic 'docs-list-remove_item'
...
ad024439f5 Help: list(REMOVE_ITEM) removes all instances, not just the first found
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3977
2019-11-03 17:35:16 -05:00
Craig Scott
23752d5bad
Help: Typo and grammar fixes for file(GET_RUNTIME_DEPENDENCIES)
...
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.
2019-11-03 22:44:36 +11:00
Alex Turbov
949a1e120a
message: New message types to mark checks performed by CMake
...
Closes #19638 .
Co-Authored-By: Craig Scott <craig.scott@crascit.com>
2019-11-02 14:10:09 +02:00
Craig Scott
ad024439f5
Help: list(REMOVE_ITEM) removes all instances, not just the first found
...
Fixes : #19908
2019-11-02 18:22:50 +11:00