1
0
Fork 0
forked from len0rd/rockbox

Separate logger / quazip project file parts.

Move to separate project include file for better readability and reusability.

Change-Id: If75805be8fad4aec8ede600f5c616a9412ac0505
This commit is contained in:
Dominik Riebeling 2015-03-25 21:58:25 +01:00
parent b230cf3aa2
commit 9ecfe6151b
4 changed files with 47 additions and 23 deletions

View file

@ -0,0 +1,19 @@
SOURCES += \
$$PWD/AbstractAppender.cpp \
$$PWD/AbstractStringAppender.cpp \
$$PWD/ConsoleAppender.cpp \
$$PWD/FileAppender.cpp \
$$PWD/Logger.cpp \
INCLUDES += \
$$PWD/AbstractAppender.h \
$$PWD/ConsoleAppender.h \
$$PWD/FileAppender.h \
$$PWD/OutputDebugAppender.h \
$$PWD/AbstractStringAppender.h \
$$PWD/CuteLogger_global.h \
$$PWD/Logger.h \
DEFINES += \
CUTELOGGER_STATIC

View file

@ -0,0 +1,25 @@
SOURCES += \
$$PWD/quazip.cpp \
$$PWD/quazipfile.cpp \
$$PWD/quazipnewinfo.cpp \
$$PWD/quazipfileinfo.cpp \
$$PWD/qioapi.cpp \
$$PWD/unzip.c \
$$PWD/zip.c \
HEADERS += \
$$PWD/crypt.h \
$$PWD/ioapi.h \
$$PWD/quazipfile.h \
$$PWD/quazipfileinfo.h \
$$PWD/quazipnewinfo.h \
$$PWD/quazip.h \
$$PWD/quazipnewinfo.h \
$$PWD/quazip_global.h \
$$PWD/unzip.h \
$$PWD/zip.h \
DEFINES += \
QUAZIP_STATIC

View file

@ -69,13 +69,6 @@ SOURCES += \
base/rockboxinfo.cpp \
../../tools/mkboot.c \
../../tools/iriver.c \
quazip/quazip.cpp \
quazip/quazipfile.cpp \
quazip/quazipnewinfo.cpp \
quazip/quazipfileinfo.cpp \
quazip/qioapi.cpp \
quazip/unzip.c \
quazip/zip.c \
base/ziputil.cpp \
gui/comboboxviewdelegate.cpp \
gui/selectiveinstallwidget.cpp \
@ -88,11 +81,6 @@ SOURCES += \
mspack/system-mspack.c \
base/mspackutil.cpp \
base/archiveutil.cpp \
logger/AbstractAppender.cpp \
logger/AbstractStringAppender.cpp \
logger/ConsoleAppender.cpp \
logger/FileAppender.cpp \
logger/Logger.cpp \
HEADERS += \
@ -157,16 +145,6 @@ HEADERS += \
base/rockboxinfo.h \
../../tools/mkboot.h \
../../tools/iriver.h \
quazip/crypt.h \
quazip/ioapi.h \
quazip/quazipfile.h \
quazip/quazipfileinfo.h \
quazip/quazipnewinfo.h \
quazip/quazip.h \
quazip/quazipnewinfo.h \
quazip/quazip_global.h \
quazip/unzip.h \
quazip/zip.h \
base/ziputil.h \
lame/lame.h \
gui/comboboxviewdelegate.h \

View file

@ -163,7 +163,7 @@ dbg {
message("release")
}
DEFINES += RBUTIL _LARGEFILE64_SOURCE CUTELOGGER_STATIC QUAZIP_STATIC
DEFINES += RBUTIL _LARGEFILE64_SOURCE
# check version of Qt installation
!contains(QT_MAJOR_VERSION, 5):!macx:!*-msvc* {
@ -246,4 +246,6 @@ unix {
# source files are separate.
include(rbutilqt.pri)
include(quazip/quazip.pri)
include(logger/logger.pri)