| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| |
| | |
2eba7d7524 Help: Add SHELL, LINKER and host/device discussions to property docs
b20c1f4880 Help: Make SHELL option examples more generic
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6130
|
| |
| |
| |
| |
| |
| | |
Section headings are also added for each common block to help guide
the reader and improve navigation.
Fixes: #21640
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Comments at the bottom of the docs for add_compile_options() and
target_compile_options() recommend using other commands if setting
compiler definitions. Change the examples we use for the SHELL:
functionality to use -option instead of -D so that we don't violate our
own recommendations. This also makes the examples more
appropriate for use with link options as well.
Tweak the wording to not specify the type of option being discussed.
This will already be clear from the page the text is included into and
it avoids naming unrelated option types for the given page.
|
|/
|
| |
Fixes: #21519
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| | |
d2b856bc92 ctest_build: Add the PARALLEL_LEVEL argument
fc2ac46043 build_command: Add the PARALLEL_LEVEL argument
4dd4e9dd6c cmGlobalGenerator: Add parallel parameter to GenerateCMakeBuildCommand
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Brad King <brad.king@kitware.com>
Merge-request: !6069
|
| |
| |
| |
| | |
Fixes: #19712
|
| |
| |
| |
| | |
Issue: #19712
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
7398993f5b Help: Document CMAKE_TLS_VERIFY variable explicitly
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6064
|
| |/
| |
| |
| |
| | |
Previously it was mentioned only in the `file` and `ExternalProject`
documentation.
|
|/
|
|
| |
Fixes: #20553
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
25bf514447 ctest: Add support for writing test results in JUnit XML format
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Zack Galbreath <zack.galbreath@kitware.com>
Acked-by: Michael Hirsch <michael@scivision.dev>
Acked-by: MvdHurk <maikelvandenhurk@hotmail.com>
Acked-by: Alexander Richardson <arichardson.kde@gmail.com>
Merge-request: !6020
|
| |
| |
| |
| | |
Addresses #18654
|
|\ \
| |/
|/|
| |
| |
| |
| |
| | |
e4b793c614 file(REAL_PATH): add option EXPAND_TILDE
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Michael Hirsch <michael@scivision.dev>
Merge-request: !6033
|
| |
| |
| |
| |
| | |
This option enables the replacement of any leading tilde with the path
to the user's home directory.
|
|/
|
|
|
|
| |
Make it even clearer that for the signature `<version>...<version>` that
the second value is only used for policies, and is not a clamp range
of supported CMake versions.
|
|\
| |
| |
| |
| |
| |
| | |
253aff6c94 Xcode: Add support of DEPFILE for add_custom_command, part 2
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6015
|
| |
| |
| |
| |
| |
| | |
This MR extend the support of 'DEPFILE' to buildsystem version 1.
Issue: #20286
|
|\ \
| |/
|/|
| |
| |
| |
| |
| | |
6234afdff4 Help: Document special cases for if(IS_ABSOLUTE)
789307b02f Help: Behavior of file(TO_NATIVE_PATH) depends on the host platform
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6016
|
| |
| |
| |
| |
| |
| |
| | |
The meaning of "absolute path" was previously assumed knowledge,
but a number of special cases were left unspecified. The way some of
these are handled differs to the way that cmake_path(IS_ABSOLUTE)
works, so document those special cases so that the differing behavior
between these two commands is clearly defined.
|
| | |
|
| |
| |
| |
| | |
Issue: #20286
|
| |
| |
| |
| |
| |
| | |
This facility is very useful for 'Ninja Multi-Config' and required
as well for future support of DEPFILE in 'Xcode' and 'Visual Studio'
generators (#20286).
|
|\ \
| |/
| |
| |
| |
| |
| | |
4d6e899578 Help: Document in add_library how to import libraries with SONAME
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5975
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When using `add_library` to create an `IMPORTED` library target, there
are a few target properties that are essential to correctly tell CMake
about the library file. We already cover `IMPORTED_LOCATION` and
`IMPORTED_IMPLIB`. Add `IMPORTED_SONAME` and `IMPORTED_NO_SONAME`,
which are important in certain cases.
Fixes: #22016
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
769ff05483 Help: Clarify permission-related command options
900184616a Cleanup: Fix misspelt name of local C++ variable
635431a0c9 Tests: Check host platform instead of target for running stat
4ceb0ca59e Tests: Remove redundant files for configure_file() tests
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5945
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
769ff05483 Help: Clarify permission-related command options
900184616a Cleanup: Fix misspelt name of local C++ variable
635431a0c9 Tests: Check host platform instead of target for running stat
4ceb0ca59e Tests: Remove redundant files for configure_file() tests
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5945
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The previous docs did not make clear that at most only one of the three
permissions-related options can be given for configure_file() or
file(GENERATE) and that USE_SOURCE_PERMISSIONS is already the
default behavior for these commands.
Use consistent wording to refer to the input and output files for
configure_file().
Add missing "versionadded" directives on some of these keywords.
Use the consistent wording and keyword ordering between the
configure_file(), file(GENERATE) and file(COPY) commands.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Define `PROJECT_IS_TOP_LEVEL` and `<PROJECT-NAME>_IS_TOP_LEVEL`. The
latter is a STATIC cache entry just like other `<PROJECT-NAME>_*`
variables so that it is globally scoped.
Issue: #20310
Fixes: #21961
|
| | | |
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
2f59b683d3 Help: Custom OUTPUT and BYPRODUCTS genexes cannot refer to targets
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5939
|
| |/
| |
| | |
Relates: #21364
|
| |
| |
| |
| | |
Fixes: #21935
|
| |
| |
| |
| |
| |
| | |
The `file(COPY)` subcommand is overloaded and busy for such a simple
operation. Instead, make a simpler subcommand with error handling
support.
|
| | |
|
| |
| |
| |
| |
| | |
Add a `NO_REPLACE` option that prevents overwriting `<newname>`
if it exists.
|
|/ |
|
| |
|
|
|
|
|
|
|
|
|
| |
Since commit c2dc7e0f53 (Help: Convert genex documentation to sphinx
domain objects, 2021-01-15) we can use `:genex:` cross-references to
link to named generator expressions. Update some places to do this.
This is meant to demonstrate the capability, not as a comprehensive
sweep.
|
|\
| |
| |
| |
| |
| |
| | |
c40e81ce80 Help: Restore docs that find_library considers LIB, not INCLUDE
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5772
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Documentation updates in commit 02f527c66a (Find: Provide global
controls for the `NO_[]_PATH` call options, 2019-06-12,
v3.16.0-rc1~541^2) accidentally switched the `find_library`
documentation to mention `INCLUDE` where it should be `LIB`.
While at it, update `find_file` and `find_path` to mention
`INCLUDE` and `PATH` in the order they are considered.
|
| |
| |
| |
| | |
Fixes: #17634
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
255df8622b file(GENERATE): Support new line style
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Brad King <brad.king@kitware.com>
Merge-request: !5649
|
| | |
| | |
| | |
| | | |
Fixes: #19198
|
|/ /
| |
| |
| | |
Signed-off-by: william.r.dieter <william.r.dieter@intel.com>
|
| |
| |
| |
| |
| |
| |
| | |
For consistency, subcommand 'HAS_RELATIVE_PATH' is also renamed
to 'HAS_RELATIVE_PART'.
Fixes: #21385
|
| |
| |
| |
| | |
Fixes: #21729
|
| |
| |
| | |
Relates: #21385
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
76f0bcdfb6 cmake_path: various updates
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5695
|