forked from dept2/CuteLogger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CuteLogger.pro
42 lines (31 loc) · 1017 Bytes
/
CuteLogger.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
TEMPLATE = lib
android: TARGET = CuteLogger_$${QT_ARCH}
else: TARGET = CuteLogger
#!win32: CONFIG += staticlib
CONFIG += separate_debug_info
DESTDIR = ..
DEFINES += CUTELOGGER_LIBRARY
INCLUDEPATH += $$PWD/include
SOURCES += $$PWD/src/Logger.cpp \
$$PWD/src/AbstractAppender.cpp \
$$PWD/src/AbstractStringAppender.cpp \
$$PWD/src/ConsoleAppender.cpp \
$$PWD/src/FileAppender.cpp \
$$PWD/src/RollingFileAppender.cpp \
$$PWD/src/ColorConsoleAppender.cpp
HEADERS += $$PWD/include/Logger.h \
$$PWD/include/CuteLogger_global.h \
$$PWD/include/AbstractAppender.h \
$$PWD/include/AbstractStringAppender.h \
$$PWD/include/ConsoleAppender.h \
$$PWD/include/FileAppender.h \
$$PWD/include/RollingFileAppender.h \
$$PWD/include/ColorConsoleAppender.h
win32 {
SOURCES += $$PWD/src/OutputDebugAppender.cpp
HEADERS += $$PWD/include/OutputDebugAppender.h
}
android {
SOURCES += $$PWD/src/AndroidAppender.cpp
HEADERS += $$PWD/include/AndroidAppender.h
}