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