2017-11-12 02:00:54 +00:00
|
|
|
#--------------------------------------------------------
|
|
|
|
#
|
|
|
|
# Pro file for Android and Windows builds with Qt Creator
|
|
|
|
#
|
|
|
|
#--------------------------------------------------------
|
|
|
|
|
|
|
|
QT += core
|
|
|
|
|
|
|
|
TEMPLATE = lib
|
|
|
|
TARGET = logging
|
|
|
|
|
|
|
|
INCLUDEPATH += $$PWD
|
2018-03-10 19:32:46 +00:00
|
|
|
INCLUDEPATH += ../exports
|
2018-03-05 16:32:14 +00:00
|
|
|
|
2017-11-12 02:00:54 +00:00
|
|
|
QMAKE_CXXFLAGS += -std=c++11
|
|
|
|
|
2018-12-27 08:48:30 +00:00
|
|
|
macx {
|
|
|
|
QMAKE_LFLAGS_SONAME = -Wl,-install_name,@rpath/
|
|
|
|
}
|
|
|
|
|
2018-11-09 18:06:23 +00:00
|
|
|
CONFIG(MSVC):DEFINES += logging_EXPORTS
|
|
|
|
|
2017-11-12 02:00:54 +00:00
|
|
|
CONFIG(Release):build_subdir = release
|
|
|
|
CONFIG(Debug):build_subdir = debug
|
|
|
|
|
|
|
|
# Enable very detailed debug messages when compiling the debug version
|
|
|
|
CONFIG(debug, debug|release) {
|
|
|
|
DEFINES += SUPERVERBOSE
|
|
|
|
}
|
|
|
|
|
|
|
|
HEADERS += $$PWD/logglobal.h \
|
|
|
|
$$PWD/logmessage.h \
|
|
|
|
$$PWD/logger.h \
|
|
|
|
$$PWD/filelogger.h \
|
|
|
|
$$PWD/dualfilelogger.h \
|
|
|
|
$$PWD/loggerwithfile.h
|
|
|
|
|
|
|
|
SOURCES += $$PWD/logmessage.cpp \
|
|
|
|
$$PWD/logger.cpp \
|
|
|
|
$$PWD/filelogger.cpp \
|
|
|
|
$$PWD/dualfilelogger.cpp \
|
|
|
|
$$PWD/loggerwithfile.cpp
|
|
|
|
|