diff options
author | Brad King <brad.king@kitware.com> | 2020-11-20 15:15:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-11-20 15:15:53 (GMT) |
commit | 3bc549540e117a949707c51fcdf110fdc51e3d93 (patch) | |
tree | e736abff616bf3c411881074a156fdae490f6f71 /Help/command/target_compile_options.rst | |
parent | 64dc4efc511f766d0a099df717e2f35f9eccabce (diff) | |
parent | bf241bcc1e5cda69775c05022e146a7f4f76b41b (diff) | |
download | CMake-3bc549540e117a949707c51fcdf110fdc51e3d93.zip CMake-3bc549540e117a949707c51fcdf110fdc51e3d93.tar.gz CMake-3bc549540e117a949707c51fcdf110fdc51e3d93.tar.bz2 |
Merge branch 'master' into FindGTest-revert-no-release
Diffstat (limited to 'Help/command/target_compile_options.rst')
-rw-r--r-- | Help/command/target_compile_options.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Help/command/target_compile_options.rst b/Help/command/target_compile_options.rst index 3c733c5..e45b209 100644 --- a/Help/command/target_compile_options.rst +++ b/Help/command/target_compile_options.rst @@ -26,10 +26,12 @@ specify the scope of the following arguments. ``PRIVATE`` and ``PUBLIC`` items will populate the :prop_tgt:`COMPILE_OPTIONS` property of ``<target>``. ``PUBLIC`` and ``INTERFACE`` items will populate the :prop_tgt:`INTERFACE_COMPILE_OPTIONS` property of ``<target>``. -(:ref:`IMPORTED targets <Imported Targets>` only support ``INTERFACE`` items.) The following arguments specify compile options. Repeated calls for the 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_options`` may use "generator expressions" with the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)` manual for available expressions. See the :manual:`cmake-buildsystem(7)` |