Help: Link to Object Library docs from add_library
This commit is contained in:
parent
a81531817e
commit
20f5460288
|
@ -80,8 +80,8 @@ Object Libraries
|
||||||
|
|
||||||
add_library(<name> OBJECT <src>...)
|
add_library(<name> OBJECT <src>...)
|
||||||
|
|
||||||
Creates a special "object library" target. An object library compiles
|
Creates an :ref:`Object Library <Object Libraries>`. An object library
|
||||||
source files but does not archive or link their object files into a
|
compiles source files but does not archive or link their object files into a
|
||||||
library. Instead other targets created by :command:`add_library` or
|
library. Instead other targets created by :command:`add_library` or
|
||||||
:command:`add_executable` may reference the objects using an expression of the
|
:command:`add_executable` may reference the objects using an expression of the
|
||||||
form ``$<TARGET_OBJECTS:objlib>`` as a source, where ``objlib`` is the
|
form ``$<TARGET_OBJECTS:objlib>`` as a source, where ``objlib`` is the
|
||||||
|
|
Loading…
Reference in New Issue