dawn_add_libraryΒΆ

Compile the given sources into an archive or object library. This will provide the CMake targets <NAME>Objects, <NAME>Static and <NAME>Shared respectively.

dawn_add_library(NAME SOURCES DEPENDS [OUTPUT_DIR])
NAME
Name of the exectuable as well as the CMake target to build it.
SOURCES
List of source files making up the exectuable.
DEPENDS
List of external libraries and/or CMake targets to link against.
OBJECT [optional]
Create a CMake object library.
ARCHIVE [optional]
Create a static and, if BUILD_SHARED_LIBS is ON, shared archive.