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
|
|
|
|
)
|
|
|
|
|
2023-01-10 18:21:47 -05:00
|
|
|
set(logging_HEADERS
|
2017-11-11 04:29:32 -05:00
|
|
|
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
|
2022-11-17 09:34:54 -05:00
|
|
|
Qt::Core
|
|
|
|
Qt::Network
|
2017-11-11 04:29:32 -05:00
|
|
|
)
|
|
|
|
|
2019-05-01 05:54:58 -04:00
|
|
|
install(TARGETS logging DESTINATION ${INSTALL_LIB_DIR})
|