| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
26d813092b add_custom_{command,target}: add genex support for COMMENT
60a5a39022 cmCustomCommandGenerator: refactor GetComment to return std::string
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !7887
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Evaluate and expand generator expressions in the `COMMENT` argument of
the `add_custom_command()` and `add_custom_target()` commands.
This allows to include generator expressions, e.g. a targets location
$<TARGET_...> or the current configuration $<CONFIG>, in the build-time
messages.
Fixes #22507
|
|/
|
|
|
| |
At least the top-reference links. Internal `:ref:` usages have been left
intact.
|
|
|
|
|
|
|
|
| |
On Windows, a file may be inaccessible for a short time after it is
created. This occurs for various reasons, including indexing, antivirus
tools, and NTFS's asynchronous semantics. Add an `INPUT_MAY_BE_RECENT`
option to tell CMake that the input file may have been recently created
so that we can retry a few times to read it.
|
|
|
|
|
|
|
|
| |
This allows the Zstd compression-level to be set between 0-19. I've
adjusted some of the tests, and error messages to indicates the selected
algorithm, and min/max of its compression-level.
Fixes: #24160
|
|
|
|
|
|
|
| |
The top-level project() call will now issue an AUTHOR_WARNING if it
wasn't called after cmake_minimum_required().
Fixes: #24071
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
d4d1f85297 Help: Move a note about arguments and genexes into include file
968224484f Help: Drop unused `PROPERTY_GENEX` replace from `prop_tgt/INTERFACE_*` files
65457e4fae Help: Add _See Also_ sections to related CMake commands
c86ec79d07 Help: Use direct refs to genexes instead of ``$<GENEX-NAME>``
8c6274326d Help: Use CMake highlighting for command synopsis
c356a94512 Help: Use monospaced font for a genex name in a section title
f98c8707f4 Help: Use `code-block:: cmake` instead of `::` for sub-commands descriptions
2ba351ca4f Help: ``CMake`` → CMake
...
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7873
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Most of CMake commands use it. Fix a few of them to do the same.
|
| | |
|
| |
| |
| |
| |
| | |
Most of CMake commands use syntax highlighting when describe
sub-commands syntax. Fix a few of them to be like others...
|
| |
| |
| |
| | |
To make it similar to other commands.
|
| |
| |
| |
| |
| | |
When mention execitable names use Sphinx semantic role `:program`
instead of ``executable`` or **executable**.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
1046a61cfd Help: clean up and clarify block() and return()
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7872
|
| | | |
|
|\ \ \
| |_|/
|/| |
| | |
| | |
| | |
| | | |
7e1a4567fb Help: Make VALIDATOR wording clearer and more precise
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7874
|
| |/ |
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
3043c17039 Help: Add more CLI `:option:` references to various pages
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7811
|
| | |
| | |
| | |
| | | |
Fixes: #24056
|
|\ \ \
| |/ /
|/| /
| |/
| |
| |
| | |
3043c17039 Help: Add more CLI `:option:` references to various pages
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7811
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Add a `versionadded` mark for the search path added by commit e55c154c5b
(cmFindPackageCommand: Add one more search path, 2022-06-27,
v3.25.0-rc1~339^2~1).
Fixes: #24067
|
|/ |
|
|\
| |
| |
| |
| |
| |
| | |
7d25ae7350 Help: Add versionadded for string(TIMESTAMP) %f specifier
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7796
|
| |
| |
| |
| |
| | |
This was accidentally left out of commit c050d6a01e (string(TIMESTAMP):
add %f specifier for microseconds, 2022-01-27, v3.23.0-rc1~59^2).
|
| |
| |
| |
| |
| |
| |
| |
| | |
In commit cb14ae2b87 (try_compile: Add SOURCE_FROM_{ARG,VAR},
2022-09-21, v3.25.0-rc1~94^2~2) we accidentally added unbalanced closing
`]` characters in the `try_compile` and `try_run` signatures.
Fixes: #24053
|
| | |
|
| |
| |
| |
| |
| |
| | |
Define the entry point to each mode as an option for the `cmake`
program, but reference the options for that mode as part of stand-in
`cmake-<mode>` programs.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
3801785cc3 Help: Improve try_compile debug documentation
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: alcroito <alexandru.croitor@qt.io>
Merge-request: !7735
|
| | |
| | |
| | |
| | |
| | |
| | | |
Update the --debug-trycompile documentation to account for recent
changes to try_compile. Mention where in the build tree to find
artifacts when using said option.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
ef05a56387 Help: Fix typo in try_compile documentation
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7736
|
| |/ / |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
Change the SOURCE_FROM_ARG keyword to try_compile to SOURCE_FROM_CONTENT
(which we can do because it was recently added and hasn't been in a
release yet). The new name should be clearer as to what it does, and
also more consistent with the CONTENT arguments to some other commands.
Also, fix a typo in an error message.
|
| |
| |
| |
| |
| |
| |
| | |
Add NO_CACHE option to try_compile and try_run, which places the results
in regular, rather than cache, variables.
Issue: #22799
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
8d6f015d59 Drop Visual Studio 10 2010 generator
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7718
|
| | |
| | |
| | |
| | | |
This generator has been deprecated since CMake 3.22. Remove it.
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | | |
2eb30a7036 add_subdirectory: Add SYSTEM option
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7399
|
| | |
| | |
| | |
| | |
| | | |
Fixes: #22401
Signed-off-by: Da Quexian <daquexian566@gmail.com>
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
611d801790 try_compile: Add SOURCE_FROM_FILE
a04eaf6742 Tests: Clean up and simplify TryCompile tests
cb14ae2b87 try_compile: Add SOURCE_FROM_{ARG,VAR}
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7700
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add ability to copy try_compile (and try_run) source files from
arbitrary locations into the operation directory. This is included for
the sake of completion and consolidation, although use cases which
actually require this may be rare.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add ability to "feed" try_compile (and try_run) sources more directly,
either from literal content, or from a CMake variable which contains
literal content. This saves the user from needing a separate step to
write the content to a file, and allows for the sources to only exist in
the scratch directory.
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Link policy explaining BYPRODUCTS.
Apply the change from commit 00b788e85e (Help:custom_command: link
policy on BYPRODUCTS, 2022-09-09) to `add_custom_target` docs too.
Issue: #23786
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
3d31f99b74 Help: Link from usage requirement commands to detailed explanation
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7653
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Augment vague mentions of "Transitive Usage Requirements" with links to
a detailed explanation.
Fixes: #23799
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
00b788e85e Help:custom_command: link policy on BYPRODUCTS
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7662
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Link policy explaining BYPRODUCTS.
Fixes: #23786
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
Introduce a new signature for the project flavor of try_compile (and
try_run) which removes the `bindir` argument and adds a required PROJECT
tag. This is similar to the SOURCES flavor added by commit aa9220d3
(try_compile: Add keyword-dispatched signature, 2022-09-02).
|