diff options
author | Brad King <brad.king@kitware.com> | 2014-11-07 15:20:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-11-07 15:20:58 (GMT) |
commit | b71399a189616b762e975670e477c6d09813803f (patch) | |
tree | f26a6965dddf3d02d033ef84c6d88e009d0b91e7 /Help/command | |
parent | 51bb383dbf6de9f46d7784a0d3e0bc845a85a0a3 (diff) | |
parent | 79349ed8fc22f70de7f839b2323cf3e93aca9bc9 (diff) | |
download | CMake-b71399a189616b762e975670e477c6d09813803f.zip CMake-b71399a189616b762e975670e477c6d09813803f.tar.gz CMake-b71399a189616b762e975670e477c6d09813803f.tar.bz2 |
Merge branch 'release-doc-formatting' into release
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 |