2017-11-11 09:29:32 +00:00
|
|
|
project(logging)
|
|
|
|
|
|
|
|
set(logging_SOURCES
|
|
|
|
dualfilelogger.cpp
|
2017-11-11 22:44:05 +00:00
|
|
|
loggerwithfile.cpp
|
2017-11-11 09:29:32 +00:00
|
|
|
filelogger.cpp
|
|
|
|
logger.cpp
|
|
|
|
logmessage.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
set(httpserver_HEADERS
|
|
|
|
dualfilelogger.h
|
2017-11-11 22:44:05 +00:00
|
|
|
loggerwithfile.h
|
2017-11-11 09:29:32 +00:00
|
|
|
filelogger.h
|
|
|
|
logger.h
|
|
|
|
logmessage.h
|
|
|
|
logglobal.h
|
|
|
|
)
|
|
|
|
|
|
|
|
include_directories(
|
2019-05-01 09:54:58 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/exports
|
2017-11-11 09:29:32 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
add_library(logging SHARED
|
2019-05-01 09:54:58 +00:00
|
|
|
${logging_SOURCES}
|
2017-11-11 09:29:32 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(logging
|
2019-05-01 09:54:58 +00:00
|
|
|
Qt5::Core
|
|
|
|
Qt5::Network
|
2017-11-11 09:29:32 +00:00
|
|
|
)
|
|
|
|
|
2019-05-01 09:54:58 +00:00
|
|
|
install(TARGETS logging DESTINATION ${INSTALL_LIB_DIR})
|