2011-04-02 19:16:18 +02:00
|
|
|
TEMPLATE = app
|
|
|
|
TARGET = cppcheck-gui
|
2012-01-11 21:32:52 +01:00
|
|
|
CONFIG += warn_on debug
|
2011-04-02 19:16:18 +02:00
|
|
|
DEPENDPATH += . \
|
|
|
|
../lib
|
|
|
|
INCLUDEPATH += . \
|
|
|
|
../lib
|
2011-04-04 13:18:28 +02:00
|
|
|
LIBS += -L../externals
|
2011-04-02 19:16:18 +02:00
|
|
|
|
|
|
|
DESTDIR = .
|
|
|
|
RCC_DIR = temp
|
|
|
|
MOC_DIR = temp
|
|
|
|
OBJECTS_DIR = temp
|
|
|
|
UI_DIR = temp
|
|
|
|
|
|
|
|
win32 {
|
|
|
|
DESTDIR = ../Build/gui
|
|
|
|
RCC_DIR = ../BuildTmp/gui
|
|
|
|
MOC_DIR = ../BuildTmp/gui
|
|
|
|
OBJECTS_DIR = ../BuildTmp/gui
|
|
|
|
UI_DIR = ../BuildTmp/gui
|
|
|
|
}
|
|
|
|
|
|
|
|
RESOURCES = gui.qrc
|
2011-04-04 13:18:28 +02:00
|
|
|
FORMS = about.ui \
|
|
|
|
application.ui \
|
|
|
|
file.ui \
|
|
|
|
logview.ui \
|
|
|
|
main.ui \
|
|
|
|
projectfile.ui \
|
|
|
|
resultsview.ui \
|
|
|
|
settings.ui \
|
2012-01-11 21:32:52 +01:00
|
|
|
stats.ui \
|
|
|
|
selectfilesdialog.ui
|
2011-04-02 19:16:18 +02:00
|
|
|
|
2011-04-06 08:56:26 +02:00
|
|
|
TRANSLATIONS = cppcheck_de.ts \
|
|
|
|
cppcheck_en.ts \
|
|
|
|
cppcheck_es.ts \
|
2011-04-06 08:49:17 +02:00
|
|
|
cppcheck_fi.ts \
|
2011-04-02 19:16:18 +02:00
|
|
|
cppcheck_fr.ts \
|
2011-04-06 08:56:26 +02:00
|
|
|
cppcheck_ja.ts \
|
2011-04-02 19:16:18 +02:00
|
|
|
cppcheck_nl.ts \
|
|
|
|
cppcheck_pl.ts \
|
|
|
|
cppcheck_ru.ts \
|
2011-04-06 08:56:26 +02:00
|
|
|
cppcheck_sr.ts \
|
|
|
|
cppcheck_sv.ts
|
2011-04-02 19:16:18 +02:00
|
|
|
|
|
|
|
# Windows-specific options
|
|
|
|
CONFIG += embed_manifest_exe
|
|
|
|
|
|
|
|
BASEPATH = ../lib/
|
|
|
|
include($$PWD/../lib/lib.pri)
|
|
|
|
|
2011-04-04 13:18:28 +02:00
|
|
|
HEADERS += aboutdialog.h \
|
|
|
|
application.h \
|
2011-04-02 19:16:18 +02:00
|
|
|
applicationdialog.h \
|
2011-04-04 13:18:28 +02:00
|
|
|
applicationlist.h \
|
|
|
|
checkstatistics.h \
|
|
|
|
checkthread.h \
|
2011-04-02 19:16:18 +02:00
|
|
|
common.h \
|
2011-04-04 13:18:28 +02:00
|
|
|
csvreport.h \
|
2011-04-02 19:16:18 +02:00
|
|
|
erroritem.h \
|
2011-04-04 13:18:28 +02:00
|
|
|
filelist.h \
|
2011-04-02 19:16:18 +02:00
|
|
|
fileviewdialog.h \
|
2011-04-04 13:18:28 +02:00
|
|
|
logview.h \
|
|
|
|
mainwindow.h \
|
2011-10-02 21:08:12 +02:00
|
|
|
platforms.h \
|
2011-04-02 19:16:18 +02:00
|
|
|
project.h \
|
|
|
|
projectfile.h \
|
|
|
|
projectfiledialog.h \
|
|
|
|
report.h \
|
2011-04-04 13:18:28 +02:00
|
|
|
resultstree.h \
|
|
|
|
resultsview.h \
|
|
|
|
settingsdialog.h \
|
2011-12-27 20:13:16 +01:00
|
|
|
showtypes.h \
|
2011-04-04 13:18:28 +02:00
|
|
|
statsdialog.h \
|
|
|
|
threadhandler.h \
|
|
|
|
threadresult.h \
|
|
|
|
translationhandler.h \
|
2011-04-02 19:16:18 +02:00
|
|
|
txtreport.h \
|
|
|
|
xmlreport.h \
|
|
|
|
xmlreportv1.h \
|
2012-01-10 22:39:22 +01:00
|
|
|
xmlreportv2.h \
|
|
|
|
selectfilesdialog.h
|
2011-04-02 19:16:18 +02:00
|
|
|
|
2011-04-04 13:18:28 +02:00
|
|
|
SOURCES += aboutdialog.cpp \
|
|
|
|
application.cpp \
|
2011-04-02 19:16:18 +02:00
|
|
|
applicationdialog.cpp \
|
2011-04-04 13:18:28 +02:00
|
|
|
applicationlist.cpp \
|
|
|
|
checkstatistics.cpp \
|
|
|
|
checkthread.cpp \
|
|
|
|
csvreport.cpp \
|
|
|
|
erroritem.cpp \
|
|
|
|
filelist.cpp \
|
2011-04-02 19:16:18 +02:00
|
|
|
fileviewdialog.cpp \
|
2011-04-04 13:18:28 +02:00
|
|
|
logview.cpp \
|
|
|
|
main.cpp \
|
|
|
|
mainwindow.cpp\
|
2011-10-02 21:08:12 +02:00
|
|
|
platforms.cpp \
|
2011-04-02 19:16:18 +02:00
|
|
|
project.cpp \
|
|
|
|
projectfile.cpp \
|
|
|
|
projectfiledialog.cpp \
|
|
|
|
report.cpp \
|
2011-04-04 13:18:28 +02:00
|
|
|
resultstree.cpp \
|
|
|
|
resultsview.cpp \
|
|
|
|
settingsdialog.cpp \
|
2011-12-27 20:13:16 +01:00
|
|
|
showtypes.cpp \
|
2011-04-04 13:18:28 +02:00
|
|
|
statsdialog.cpp \
|
|
|
|
threadhandler.cpp \
|
|
|
|
threadresult.cpp \
|
|
|
|
translationhandler.cpp \
|
2011-04-02 19:16:18 +02:00
|
|
|
txtreport.cpp \
|
|
|
|
xmlreport.cpp \
|
|
|
|
xmlreportv1.cpp \
|
2012-01-10 22:39:22 +01:00
|
|
|
xmlreportv2.cpp \
|
|
|
|
selectfilesdialog.cpp
|
2011-04-02 19:16:18 +02:00
|
|
|
|
|
|
|
win32 {
|
|
|
|
DEFINES += _CRT_SECURE_NO_WARNINGS
|
|
|
|
RC_FILE = cppcheck-gui.rc
|
|
|
|
HEADERS += ../cli/resource.h
|
|
|
|
LIBS += -lshlwapi
|
|
|
|
}
|
2011-10-11 21:14:15 +02:00
|
|
|
|
|
|
|
|