Help: Format add_library documented list of INTERFACE commands
Use a bullet list to make it easier to read.
This commit is contained in:
parent
a9dcf4773c
commit
f84ddd4b56
|
@ -133,14 +133,17 @@ Creates an :ref:`Interface Library <Interface Libraries>`. An ``INTERFACE``
|
||||||
library target does not directly create build output, though it may
|
library target does not directly create build output, though it may
|
||||||
have properties set on it and it may be installed, exported and
|
have properties set on it and it may be installed, exported and
|
||||||
imported. Typically the ``INTERFACE_*`` properties are populated on
|
imported. Typically the ``INTERFACE_*`` properties are populated on
|
||||||
the interface target using the :command:`set_property`,
|
the interface target using the commands:
|
||||||
:command:`target_link_libraries(INTERFACE)`,
|
|
||||||
:command:`target_include_directories(INTERFACE)`,
|
* :command:`set_property`,
|
||||||
:command:`target_compile_options(INTERFACE)`,
|
* :command:`target_link_libraries(INTERFACE)`,
|
||||||
:command:`target_compile_definitions(INTERFACE)`,
|
* :command:`target_include_directories(INTERFACE)`,
|
||||||
and :command:`target_sources(INTERFACE)` commands, and then it
|
* :command:`target_compile_options(INTERFACE)`,
|
||||||
is used as an argument to :command:`target_link_libraries` like any other
|
* :command:`target_compile_definitions(INTERFACE)`, and
|
||||||
target.
|
* :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
|
An ``INTERFACE`` :ref:`Imported Target <Imported Targets>` may also be
|
||||||
created with this signature. An ``IMPORTED`` library target references a
|
created with this signature. An ``IMPORTED`` library target references a
|
||||||
|
|
Loading…
Reference in New Issue