diff options
author | Alex Turbov <i.zaufi@gmail.com> | 2022-11-06 21:27:21 (GMT) |
---|---|---|
committer | Alex Turbov <i.zaufi@gmail.com> | 2022-11-09 19:52:30 (GMT) |
commit | d4d1f8529752f25c64d3d0ab54768b7b93785a3f (patch) | |
tree | dddfcd3cc94ae38312fdb09ff90139510e66d4fc /Help/command/target_compile_definitions.rst | |
parent | 968224484f1c32fc2057addb44a6e533f384dd2b (diff) | |
download | CMake-d4d1f8529752f25c64d3d0ab54768b7b93785a3f.zip CMake-d4d1f8529752f25c64d3d0ab54768b7b93785a3f.tar.gz CMake-d4d1f8529752f25c64d3d0ab54768b7b93785a3f.tar.bz2 |
Help: Move a note about arguments and genexes into include file
Diffstat (limited to 'Help/command/target_compile_definitions.rst')
-rw-r--r-- | Help/command/target_compile_definitions.rst | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Help/command/target_compile_definitions.rst b/Help/command/target_compile_definitions.rst index d4bb6e8..2290efb 100644 --- a/Help/command/target_compile_definitions.rst +++ b/Help/command/target_compile_definitions.rst @@ -25,10 +25,8 @@ same ``<target>`` append items in the order called. .. versionadded:: 3.11 Allow setting ``INTERFACE`` items on :ref:`IMPORTED targets <Imported Targets>`. -Arguments to ``target_compile_definitions`` may use "generator expressions" -with the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)` -manual for available expressions. See the :manual:`cmake-buildsystem(7)` -manual for more on defining buildsystem properties. +.. |command_name| replace:: ``target_compile_definitions`` +.. include:: GENEX_NOTE.txt Any leading ``-D`` on an item will be removed. Empty items are ignored. For example, the following are all equivalent: |