| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
f35df783b5 Help: Document target_precompile_headers genex with angle brackets
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4015
|
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |\ \ |
|
| | |/
| | |
| | |
| | |
| | |
| | | |
Only changes the user-visible effects of renaming hardware
allocation to resource allocation. Code changes are the minimum
needed to achieve that.
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | | |
53227a4ff2 Refactor: Modernize `foreach` code and fix some bugs
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3986
|
| | |
| | |
| | |
| | |
| | |
| | | |
- fix the typo in `foreach` documentation
- fix broken `foreach(... IN ITEMS ... LISTS ...)`
- add tests of `foreach` for existed functionality and fixes
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
55df3954d3 find_package: Add support for CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3968
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Closes #19638.
Co-Authored-By: Craig Scott <craig.scott@crascit.com>
|
|\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | |
| | | |
| | | | |
657fb0aa6f Help: Clarify load_cache documentation of first parameter
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3971
|
| | |/
| |/|
| | |
| | |
| | | |
The first parameter is the path to the *directory* containing the
`CMakeCache.txt` file, not the file itself.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
23752d5bad Help: Typo and grammar fixes for file(GET_RUNTIME_DEPENDENCIES)
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3982
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
ad024439f5 Help: list(REMOVE_ITEM) removes all instances, not just the first found
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3977
|
| |/ /
| | |
| | | |
Fixes: #19908
|
| |\ \
| | | |
| | | |
| | | | |
Merge-request: !3964
|
| |\ \ \
| | | | |
| | | | |
| | | | | |
Merge-request: !3961
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | | |
Merge-request: !3952
|
|\ \ \ \ \ \
| | |_|_|/ /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
e0412a0e0b Help: Fix spelling error in file(GET_RUNTIME_DEPENDENCIES) docs
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3964
|
| | | | | | |
|
|\ \ \ \ \ \
| | |_|_|/ /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
9a08818e54 Help: Add OPTIONAL_COMPONENTS to config mode signature of find_package.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3961
|
| |/ / / / |
|
|\ \ \ \ \
| | |_|/ /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|\ \ \ \
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| |/ / |
|
| |\ \
| | | |
| | | |
| | | | |
Merge-request: !3925
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Follow up commit 0761186949 (project: Add variable
CMAKE_PROJECT_INCLUDE_BEFORE, 2019-03-28, v3.15.0-rc1~294^2) with a
project-specific variant. This variable will be used similar to the
already existing `CMAKE_PROJECT_INCLUDE_BEFORE` and
`CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE` variables.
Fixes: #19854
|
|\ \ \ \
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | | |
ac75886525 PCH: Document and test COMPILE_LANGUAGE genex for per-language header
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3925
|
| | | |
| | | |
| | | |
| | | | |
Fixes: #19839
|
|\ \ \ \
| | |/ /
| |/| /
| |_|/
|/| |
| | |
| | | |
a7ef28b9d8 Help: Fix typos and style in add_link_options documentation
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3922
|
| |/ |
|
| | |
|
|/ |
|
|
|
|
|
|
|
| |
Other multi-word command line options use hyphens to separate
the words, so the --loglevel option introduced in CMake 3.15 was
inconsistent in this regard. Rename it to --log-level but still support
the original --loglevel name to preserve backward compatibility.
|
|
|
| |
Fixes: #19771
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add entries in Modules and Modules/Platform to support
Objective-C++ compiler determination and identification.
Add Modules to check Objective-C++ compiler flags, source
compilations, program checks, etc...
Use OBJCXX as the designator of the language, eg:
project(foo OBJCXX)
Add various tests for Objective-C++ language features. Add
tests to preserve C++ handling of .M and .mm files when
Objective-C++ is not a configured language.
Co-authored-by: Cristian Adam <cristian.adam@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add entries in Modules and Modules/Platform to support
Objective-C compiler determination and identification.
Add Modules to check Objective-C compiler flags, source
compilations, program checks, etc...
Use OBJC as the designator of the language, eg:
project(foo OBJC)
Add various tests for Objective-C language features. Add
tests to preserve C++ handling of .m and .mm files when
OBJC is not a configured language.
Co-Authored-By: Cristian Adam <cristian.adam@gmail.com>
|
|
|
|
|
|
|
| |
Teach `target_precompile_headers` to treat relative paths the
same way as `target_sources`.
Fixes: #19733
|
|
|
|
|
|
|
| |
Add the ability to share precompiled headers artifacts between
targets.
Fixes: #19659
|
|
|
|
|
|
|
|
| |
Target-level dependencies to utility targets are added from another target if
the other target requires a byproduct of the utility target or if it requires a
byproduct of PRE_BUILD, PRE_LINK, or POST_BUILD build events of a target.
Issue: #19005
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Update command-line options, script variables, and documentation to use
the term "group" instead of "track". The old terms are still available
for now, but they are now undocumented.
This makes our terminology more consistent with CDash. The goal of this
change is to make it more clear to our users how CTest and CDash interact
with each other.
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| | |
b97673f54b Help: Add note to each string() subcommand that assumes ASCII input
26cd64d977 Help: Fix language and formatting inconsistencies for string() command
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3559
|