diff options
author | Brad King <brad.king@kitware.com> | 2014-11-06 19:48:45 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-11-06 19:52:49 (GMT) |
commit | 67c4be51a34f86d4c26fa9f1f2f79f5539493eee (patch) | |
tree | e44eefd24b5b5b6931c3783b911e62e5be77f9af /Help/command | |
parent | 917da5d02766e875ec63eca09eb52b789114674c (diff) | |
parent | 79349ed8fc22f70de7f839b2323cf3e93aca9bc9 (diff) | |
download | CMake-67c4be51a34f86d4c26fa9f1f2f79f5539493eee.zip CMake-67c4be51a34f86d4c26fa9f1f2f79f5539493eee.tar.gz CMake-67c4be51a34f86d4c26fa9f1f2f79f5539493eee.tar.bz2 |
Merge branch 'release-doc-formatting' into doc-formatting
Resolve conflict in Modules/ExternalProject.cmake by keeping our side,
which is more completely revised.
Diffstat (limited to 'Help/command')
-rw-r--r-- | Help/command/add_library.rst | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/Help/command/add_library.rst b/Help/command/add_library.rst index 203b503..7c06203 100644 --- a/Help/command/add_library.rst +++ b/Help/command/add_library.rst @@ -133,14 +133,17 @@ Creates an :ref:`Interface Library <Interface Libraries>`. An ``INTERFACE`` library target does not directly create build output, though it may have properties set on it and it may be installed, exported and 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)`, -: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. +the interface target using the commands: + +* :command:`set_property`, +* :command:`target_link_libraries(INTERFACE)`, +* :command:`target_include_directories(INTERFACE)`, +* :command:`target_compile_options(INTERFACE)`, +* :command:`target_compile_definitions(INTERFACE)`, and +* :command:`target_sources(INTERFACE)`, + +and then it is used as an argument to :command:`target_link_libraries` +like any other target. An ``INTERFACE`` :ref:`Imported Target <Imported Targets>` may also be created with this signature. An ``IMPORTED`` library target references a |