diff options
author | Brad King <brad.king@kitware.com> | 2014-11-06 18:48:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-11-06 19:46:18 (GMT) |
commit | f84ddd4b562540b3470a31f0799acbf788c36bf3 (patch) | |
tree | e74c4d2025f1fb7d79006b7eb287ccb9e1887ac6 /Help/command | |
parent | a9dcf4773c7908a4421ec1210aaa09af4196a94b (diff) | |
download | CMake-f84ddd4b562540b3470a31f0799acbf788c36bf3.zip CMake-f84ddd4b562540b3470a31f0799acbf788c36bf3.tar.gz CMake-f84ddd4b562540b3470a31f0799acbf788c36bf3.tar.bz2 |
Help: Format add_library documented list of INTERFACE commands
Use a bullet list to make it easier to read.
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 f86f3c5..d25cf77 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 |