draconisplusplus/subprojects/quill-4.2.0/examples/advanced/quill_wrapper/CMakeLists.txt

16 lines
494 B
CMake
Raw Normal View History

2024-06-02 06:03:21 -04:00
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)