mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
42 lines
1.4 KiB
Plaintext
42 lines
1.4 KiB
Plaintext
INCLUDEPATH += $$PWD
|
|
#DEFINES += QS_LOG_LINE_NUMBERS # automatically writes the file and line for each log message
|
|
#DEFINES += QS_LOG_DISABLE # logging code is replaced with a no-op
|
|
#DEFINES += QS_LOG_SEPARATE_THREAD # messages are queued and written from a separate thread
|
|
#DEFINES += QS_LOG_WIN_PRINTF_CONSOLE # Use fprintf instead of OutputDebugString on Windows
|
|
#DEFINES += QS_LOG_WINDOW # allows easily showing log messages in a UI
|
|
|
|
contains(DEFINES, QS_LOG_WINDOW) {
|
|
message("Will include log window destination")
|
|
QT += gui
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
SOURCES += $$PWD/QsLogWindow.cpp \
|
|
$$PWD/QsLogWindowModel.cpp
|
|
HEADERS += $$PWD/QsLogWindow.h \
|
|
$$PWD/QsLogWindowModel.h
|
|
FORMS += $$PWD/QsLogWindow.ui
|
|
RESOURCES += $$PWD/QsLogWindow.qrc
|
|
}
|
|
|
|
SOURCES += $$PWD/QsLogDest.cpp \
|
|
$$PWD/QsLog.cpp \
|
|
$$PWD/QsLogDestConsole.cpp \
|
|
$$PWD/QsLogDestFile.cpp \
|
|
$$PWD/QsLogDestFunctor.cpp \
|
|
$$PWD/QsLogMessage.cpp \
|
|
$$PWD/QsLogLevel.cpp
|
|
|
|
HEADERS += $$PWD/QsLogDest.h \
|
|
$$PWD/QsLog.h \
|
|
$$PWD/QsLogDestConsole.h \
|
|
$$PWD/QsLogLevel.h \
|
|
$$PWD/QsLogDestFile.h \
|
|
$$PWD/QsLogDisableForThisFile.h \
|
|
$$PWD/QsLogDestFunctor.h \
|
|
$$PWD/QsLogMessage.h \
|
|
$$PWD/QsLogSharedLibrary.h
|
|
|
|
OTHER_FILES += \
|
|
$$PWD/QsLogChanges.txt \
|
|
$$PWD/README.md \
|
|
$$PWD/LICENSE.txt
|