You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
515 B
35 lines
515 B
project(logging) |
|
|
|
set(logging_SOURCES |
|
bufferlogger.cpp |
|
dualfilelogger.cpp |
|
loggerwithfile.cpp |
|
filelogger.cpp |
|
logger.cpp |
|
logmessage.cpp |
|
) |
|
|
|
set(logging_HEADERS |
|
bufferlogger.h |
|
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})
|
|
|