mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-09-10 07:06:34 -04:00
35 lines
521 B
CMake
35 lines
521 B
CMake
project(logging)
|
|
|
|
set(logging_SOURCES
|
|
dualfilelogger.cpp
|
|
loggerwithfile.cpp
|
|
filelogger.cpp
|
|
logger.cpp
|
|
logmessage.cpp
|
|
)
|
|
|
|
set(httpserver_HEADERS
|
|
dualfilelogger.h
|
|
loggerwithfile.h
|
|
filelogger.h
|
|
logger.h
|
|
logmessage.h
|
|
logglobal.h
|
|
)
|
|
|
|
include_directories(
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
${CMAKE_SOURCE_DIR}/exports
|
|
)
|
|
|
|
add_library(logging SHARED
|
|
${logging_SOURCES}
|
|
)
|
|
|
|
target_link_libraries(logging
|
|
Qt5::Core
|
|
Qt5::Network
|
|
)
|
|
|
|
install(TARGETS logging DESTINATION ${INSTALL_LIB_DIR})
|