diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2022-11-06 16:17:15 (GMT) |
---|---|---|
committer | Alex Turbov <i.zaufi@gmail.com> | 2022-11-09 19:52:30 (GMT) |
commit | c86ec79d07bb7ad54ddf8739bcc2084af4a1a274 (patch) | |
tree | 45d1d088cf7093596c48f519077ec3e85d9e13af /Help/variable | |
parent | 8c6274326d5bfb32e58a4da690138279854803e8 (diff) | |
download | CMake-c86ec79d07bb7ad54ddf8739bcc2084af4a1a274.zip CMake-c86ec79d07bb7ad54ddf8739bcc2084af4a1a274.tar.gz CMake-c86ec79d07bb7ad54ddf8739bcc2084af4a1a274.tar.bz2 |
Help: Use direct refs to genexes instead of ``$<GENEX-NAME>``
Diffstat (limited to 'Help/variable')
-rw-r--r-- | Help/variable/LINK_LIBRARY_PREDEFINED_FEATURES.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Help/variable/LINK_LIBRARY_PREDEFINED_FEATURES.txt b/Help/variable/LINK_LIBRARY_PREDEFINED_FEATURES.txt index aea1be8..9158631 100644 --- a/Help/variable/LINK_LIBRARY_PREDEFINED_FEATURES.txt +++ b/Help/variable/LINK_LIBRARY_PREDEFINED_FEATURES.txt @@ -49,14 +49,14 @@ * ``[/path/to/]FwName.framework/Versions/*/FwName[suffix]`` Note that CMake recognizes and automatically handles framework targets, - even without using the ``$<LINK_LIBRARY:FRAMEWORK,...>`` expression. + even without using the :genex:`$<LINK_LIBRARY:FRAMEWORK,...>` expression. The generator expression can still be used with a CMake target if the project wants to be explicit about it, but it is not required to do so. The linker command line may have some differences between using the generator expression or not, but the final result should be the same. On the other hand, if a file path is given, CMake will recognize some paths automatically, but not all cases. The project may want to use - ``$<LINK_LIBRARY:FRAMEWORK,...>`` for file paths so that the expected + :genex:`$<LINK_LIBRARY:FRAMEWORK,...>` for file paths so that the expected behavior is clear. .. versionadded:: 3.25 |