16 lines
494 B
CMake
16 lines
494 B
CMake
|
set(LIB_NAME quill_wrapper_advanced)
|
||
|
|
||
|
add_library(${LIB_NAME} STATIC
|
||
|
include/quill_wrapper/quill_wrapper.h
|
||
|
include/quill_wrapper/quill_wrapper.cpp)
|
||
|
|
||
|
# Add include directories for this library
|
||
|
target_include_directories(${LIB_NAME}
|
||
|
PUBLIC
|
||
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
||
|
$<INSTALL_INTERFACE:include>
|
||
|
PRIVATE
|
||
|
${CMAKE_CURRENT_SOURCE_DIR})
|
||
|
|
||
|
# Link quill dependency
|
||
|
target_link_libraries(${LIB_NAME} PUBLIC quill::quill)
|