2009-03-01 08:38:21 +01:00
|
|
|
TEMPLATE = app
|
|
|
|
TARGET =
|
2009-06-22 10:57:17 +02:00
|
|
|
QT += xml
|
2009-03-01 08:38:21 +01:00
|
|
|
DEPENDPATH += .
|
|
|
|
INCLUDEPATH += .
|
2009-07-14 15:18:34 +02:00
|
|
|
RCC_DIR = temp
|
2009-03-01 08:38:21 +01:00
|
|
|
MOC_DIR = temp
|
|
|
|
OBJECTS_DIR = temp
|
2009-09-04 20:59:25 +02:00
|
|
|
UI_DIR = temp
|
2009-08-17 17:12:53 +02:00
|
|
|
CONFIG += warn_on
|
2009-05-28 10:32:32 +02:00
|
|
|
RESOURCES = gui.qrc
|
2009-07-02 10:32:29 +02:00
|
|
|
FORMS = main.ui \
|
2009-07-02 13:12:22 +02:00
|
|
|
resultsview.ui \
|
|
|
|
application.ui \
|
2009-07-02 18:36:45 +02:00
|
|
|
settings.ui \
|
2009-07-02 18:46:26 +02:00
|
|
|
file.ui \
|
2009-07-02 18:36:45 +02:00
|
|
|
about.ui
|
2009-07-02 10:32:29 +02:00
|
|
|
|
|
|
|
TRANSLATIONS = cppcheck_fi.ts \
|
2009-10-01 17:55:13 +02:00
|
|
|
cppcheck_nl.ts \
|
2009-07-02 10:32:29 +02:00
|
|
|
cppcheck_en.ts \
|
|
|
|
cppcheck_se.ts \
|
|
|
|
cppcheck_de.ts \
|
2009-08-09 22:11:13 +02:00
|
|
|
cppcheck_pl.ts \
|
2009-07-02 10:32:29 +02:00
|
|
|
cppcheck_ru.ts
|
2009-05-30 19:49:17 +02:00
|
|
|
|
|
|
|
# Windows-specific options
|
|
|
|
CONFIG += embed_manifest_exe
|
2009-03-01 08:38:21 +01:00
|
|
|
|
2009-10-25 19:29:10 +01:00
|
|
|
include($$PWD/../lib/lib.pri)
|
2009-09-04 20:59:25 +02:00
|
|
|
HEADERS += mainwindow.h \
|
|
|
|
checkthread.h \
|
|
|
|
resultsview.h \
|
|
|
|
resultstree.h \
|
|
|
|
settingsdialog.h \
|
|
|
|
threadresult.h \
|
|
|
|
threadhandler.h \
|
|
|
|
applicationlist.h \
|
|
|
|
applicationdialog.h \
|
|
|
|
aboutdialog.h \
|
|
|
|
common.h \
|
|
|
|
fileviewdialog.h \
|
|
|
|
projectfile.h \
|
|
|
|
report.h \
|
|
|
|
txtreport.h \
|
|
|
|
xmlreport.h \
|
|
|
|
translationhandler.h \
|
|
|
|
csvreport.h
|
|
|
|
SOURCES += main.cpp \
|
|
|
|
mainwindow.cpp\
|
|
|
|
checkthread.cpp \
|
|
|
|
resultsview.cpp \
|
|
|
|
resultstree.cpp \
|
|
|
|
threadresult.cpp \
|
|
|
|
threadhandler.cpp \
|
|
|
|
settingsdialog.cpp \
|
|
|
|
applicationlist.cpp \
|
|
|
|
applicationdialog.cpp \
|
|
|
|
aboutdialog.cpp \
|
|
|
|
fileviewdialog.cpp \
|
|
|
|
projectfile.cpp \
|
|
|
|
report.cpp \
|
|
|
|
txtreport.cpp \
|
|
|
|
xmlreport.cpp \
|
|
|
|
translationhandler.cpp \
|
|
|
|
csvreport.cpp
|
2009-06-13 22:14:09 +02:00
|
|
|
|
|
|
|
win32 {
|
|
|
|
RC_FILE = cppcheck-gui.rc
|
|
|
|
HEADERS += ../src/resource.h
|
|
|
|
LIBS += -lshlwapi
|
|
|
|
}
|
2009-09-04 20:59:25 +02:00
|
|
|
|
|
|
|
# run lrelease before build
|
|
|
|
lrelease.commands = lrelease gui.pro
|
|
|
|
QMAKE_EXTRA_TARGETS += lrelease
|
|
|
|
PRE_TARGETDEPS += lrelease
|