dawn_combine_librariesΒΆ
Combine multiple object libraries to a single static and, if BUILD_SHARED_LIBS
is ON, shared
library. The CMake target of the library is <NAME>Static
and <NAME>Shared
respectively.
This will also provide an install traget for the libraries as well as an export via
<NAME>Targets
.
dawn_combine_libraries(NAME OBJECTS DEPENDS)
NAME
- Name of the library.
OBJECTS
- Object libraries to combine (see dawn_add_library).
INSTALL_DESTINATION
- Destition (relative to
CMAKE_INSTALL_PREFIX
) to install the libraries. DEPENDS
[optional]- List of external libraries and/or CMake targets treated as dependencies of the library.