diff options
author | Brad King <brad.king@kitware.com> | 2014-06-12 17:25:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-06-12 17:31:01 (GMT) |
commit | 4054534cc63009652f2fa54f962b1b4fd318de4b (patch) | |
tree | 9d55bfce721ba53ea2f4213a4cd2948413e517a4 /Help/command | |
parent | 1f00d738bde27a55531d27ba311d977fb9c59539 (diff) | |
download | CMake-4054534cc63009652f2fa54f962b1b4fd318de4b.zip CMake-4054534cc63009652f2fa54f962b1b4fd318de4b.tar.gz CMake-4054534cc63009652f2fa54f962b1b4fd318de4b.tar.bz2 |
Help: Mention INTERFACE_SOURCES as settable for INTERFACE libs
The add_library(INTERFACE) and Interface Libraries documentation
list all the INTERFACE_* properties and target_* commands that
can be used to define the interface. Add INTERFACE_SOURCES
and target_sources() to these lists for completeness.
Diffstat (limited to 'Help/command')
-rw-r--r-- | Help/command/add_library.rst | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Help/command/add_library.rst b/Help/command/add_library.rst index e93ef53..746d524 100644 --- a/Help/command/add_library.rst +++ b/Help/command/add_library.rst @@ -124,8 +124,9 @@ imported. Typically the ``INTERFACE_*`` properties are populated on the interface target using the :command:`set_property`, :command:`target_link_libraries(INTERFACE)`, :command:`target_include_directories(INTERFACE)`, -:command:`target_compile_options(INTERFACE)` -and :command:`target_compile_definitions(INTERFACE)` commands, and then it +:command:`target_compile_options(INTERFACE)`, +:command:`target_compile_definitions(INTERFACE)`, +and :command:`target_sources(INTERFACE)` commands, and then it is used as an argument to :command:`target_link_libraries` like any other target. |