From 0a5c3e3b979e89889ff9fe8a6e50c1c6e8cf8795 Mon Sep 17 00:00:00 2001 From: Deniz Bahadir Date: Thu, 10 Sep 2020 16:52:26 +0200 Subject: Help: add_library( OBJECT) can omit the source files --- Help/command/add_library.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Help/command/add_library.rst b/Help/command/add_library.rst index f3df631..b7dfabc 100644 --- a/Help/command/add_library.rst +++ b/Help/command/add_library.rst @@ -14,7 +14,7 @@ Normal Libraries add_library( [STATIC | SHARED | MODULE] [EXCLUDE_FROM_ALL] - [source1] [source2 ...]) + [...]) Adds a library target called ```` to be built from the source files listed in the command invocation. (The source files can be omitted here @@ -69,7 +69,7 @@ Object Libraries .. code-block:: cmake - add_library( OBJECT ...) + add_library( OBJECT [...]) Creates an :ref:`Object Library `. An object library compiles source files but does not archive or link their object files into a -- cgit v0.12