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.
38 lines
568 B
38 lines
568 B
project(logging) |
|
|
|
set(logging_SOURCES |
|
dualfilelogger.cpp |
|
filelogger.cpp |
|
logger.cpp |
|
logmessage.cpp |
|
) |
|
|
|
set(httpserver_HEADERS |
|
dualfilelogger.h |
|
filelogger.h |
|
logger.h |
|
logmessage.h |
|
logglobal.h |
|
) |
|
|
|
include_directories( |
|
. |
|
${CMAKE_CURRENT_BINARY_DIR} |
|
) |
|
|
|
#include(${QT_USE_FILE}) |
|
add_definitions(${QT_DEFINITIONS}) |
|
add_definitions(-DQT_SHARED) |
|
|
|
add_library(logging SHARED |
|
${logging_SOURCES} |
|
${logging_HEADERS_MOC} |
|
) |
|
|
|
target_link_libraries(logging |
|
${QT_LIBRARIES} |
|
) |
|
|
|
qt5_use_modules(logging Core Network) |
|
|
|
install(TARGETS logging DESTINATION lib)
|
|
|