| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| |
| | |
e262123fee Help: Clarify the effect of EXCLUDE_FROM_ALL on target installation
a09195e7bf Help: Rename 'artefact' to 'artifact' in target_precompile_headers
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4840
|
| | |
|
| |
| |
| |
| | |
Fixes: #20641
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
12e483c563 cmake_language: check CALL with control command
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4788
|
| |
| |
| |
| | |
Fixes: #20739
|
|\ \
| |/
|/|
| |
| |
| |
| | |
b3e4fb5144 Help: clarify add_definitions() and add_compile_definitions() behavior
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4786
|
| |
| |
| |
| | |
Fixes: #20736
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
94c1e4fdb3 cmake_language: Rename command from cmake_command
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4774
|
| | |
| | |
| | |
| | |
| | |
| | | |
Also rename the `INVOKE` signature to `CALL`.
Fixes: #20732
|
|\ \ \
| |/ /
|/| /
| |/ |
|
| | |
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
b204bae261 target_precompile_headers: Fix documented example using genex
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Cristian Adam <cristian.adam@gmail.com>
Merge-request: !4678
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
6b3d8f281e Document which environment variables effect CMAKE_SYSTEM_PREFIX_PATH
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4748
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
f84af8e270 add_test: Allow special characters in test name
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4754
|
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes: #19391
|
|\ \ \ \ \
| |/ / / /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
448e2d7a9d Help: Provide cross-references between compiler settings
1f697b3991 Help: COMPILE_OPTIONS: bundle cross refs, add example
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4749
|
| |/ / / |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Both set_source_files_properties() and set_property(SOURCE) now accept
two new optional arguments: DIRECTORY and TARGET_DIRECTORY.
The DIRECTORY option takes a list of relative or absolute paths
pointing to processed source directories (add_subdirectory was
already called on them).
These paths specify directory scopes where the source file properties
will be set. Previously the scope was always the currently processed
source directory.
Similarly TARGET_DIRECTORY takes a list of targets, whose source
directories will be used as the list of scopes where to set the
source file properties.
get_property() and get_source_file_property() also get the same
new arguments, except only one value can be specified instead
of a list.
Fixes: #20128
|
| | |
| | |
| | | |
Fixes: #18076
|
| | |
| | |
| | |
| | |
| | | |
The previous text sounded as if option() does some work when a
cache variable exists.
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | |
| | | |
b204bae261 target_precompile_headers: Fix documented example using genex
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Cristian Adam <cristian.adam@gmail.com>
Merge-request: !4678
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When the path to a header file is specified using a generator
expression, evaluation of the genex must produce an absolute path.
Update our documented example and add a test covering the case.
Fixes: #20617
|
| | |
| | |
| | |
| | |
| | | |
The policy plays an important role in the behavior of the `install()`
command, so the latter's documentation should mention it.
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
e89aeba5c4 ctest: add option --stop-on-failure
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4630
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
To stop the tests once one has failed
Fixes: #16628
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
properties LINK_OPTIONS and INTERFACE_LINK_OPTIONS are propagated
to the device link step.
To control which options are selected for normal link and device link steps,
the $<DEVICE_LINK> and $<HOST_LINK> generator expressions can be used.
Fixes: #18265
|
| | |
| | |
| | |
| | | |
Fixes: #20581
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
d59c6ea5c6 Help: Convert find_package references to CMAKE_PREFIX_PATH to links
03b6f3a2e8 Help: Document the CMAKE_PREFIX_PATH environment variable
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4609
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | | |
da99eca1e7 list: add NATURAL sorting on SORT sub-command
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4602
|
| | | |
| | | |
| | | |
| | | | |
Fixes: #20563
|
|\ \ \ \
| |/ / /
|/| | /
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | | |
10ee9611f0 Help: Improve wording of CMAKE_CURRENT_FUNCTION_LIST_DIR docs
22fbc404a7 Help: Add cross-references for CMAKE_CURRENT_FUNCTION* docs
d2b139687a Help: Minor grammar cleanups of CMAKE_CURRENT_FUNCTION* docs
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Brad King <brad.king@kitware.com>
Acked-by: Alex Turbov <i.zaufi@gmail.com>
Merge-request: !4595
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
* Improve and test err messages when TLS_VERIFY and TLS_CAINFO
are not set in file(DOWNLOAD) and file(UPLOAD).
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
f867423aa2 file: GetRuntimeDependencies use CMAKE_OBJDUMP when applicable
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4538
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
On machines where the gnu bin utils are prefixed, or suffixed
the file(GET_RUNTIME_DEPENDENCIES ) command would fail without
explicitly setting the location of objdump.
Now we pre-populate the variables used to find objdump based
on the gnu bin utils, so that these use cases are better supported
|
|/ / /
| | |
| | |
| | | |
Encourage people to use cmake(1) --install instead.
|
| | |
| | |
| | |
| | | |
Fixes: #20427
|
| | |
| | |
| | |
| | | |
Fixes: #20443
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- 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)
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
a6fee09484 file: Add CONFIGURE subcommand
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4436
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|\ \ \ \
| |/ / /
|/| / /
| |/ /
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|