1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-13 20:01:46 -05:00
sdrangel/logging/CMakeLists.txt
srcejon 1df07b21ae Update CMakeLists.txt to allow static libraries to be built, as well as shared.
Add BUILD_BENCH, BUILD_SHARED_LIBS, ENABLE_AARONIARTSA and ENABLE_METIS options.
2024-09-11 20:16:40 +01:00

34 lines
477 B
CMake

project(logging)
set(logging_SOURCES
dualfilelogger.cpp
loggerwithfile.cpp
filelogger.cpp
logger.cpp
logmessage.cpp
)
set(logging_HEADERS
dualfilelogger.h
loggerwithfile.h
filelogger.h
logger.h
logmessage.h
logglobal.h
)
include_directories(
${CMAKE_SOURCE_DIR}/exports
)
add_library(logging
${logging_SOURCES}
)
target_link_libraries(logging
Qt::Core
Qt::Network
)
install(TARGETS logging DESTINATION ${INSTALL_LIB_DIR})