2009-03-01 08:38:21 +01:00
|
|
|
TEMPLATE = app
|
2010-02-27 18:23:54 +01:00
|
|
|
TARGET = gui
|
2009-06-22 10:57:17 +02:00
|
|
|
QT += xml
|
2010-02-27 18:23:54 +01:00
|
|
|
CONFIG += warn_on
|
2009-03-01 08:38:21 +01:00
|
|
|
DEPENDPATH += .
|
|
|
|
INCLUDEPATH += .
|
2010-02-27 18:23:54 +01:00
|
|
|
|
|
|
|
DESTDIR = .
|
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
|
2010-02-27 18:23:54 +01:00
|
|
|
|
|
|
|
win32 {
|
|
|
|
DESTDIR = ..\Build\gui
|
|
|
|
RCC_DIR = ..\BuildTmp\gui
|
|
|
|
MOC_DIR = ..\BuildTmp\gui
|
|
|
|
OBJECTS_DIR = ..\BuildTmp\gui
|
|
|
|
UI_DIR = ..\BuildTmp\gui
|
|
|
|
}
|
|
|
|
|
2009-05-28 10:32:32 +02:00
|
|
|
RESOURCES = gui.qrc
|
2009-07-02 10:32:29 +02:00
|
|
|
FORMS = main.ui \
|
2010-02-27 18:26:13 +01:00
|
|
|
resultsview.ui \
|
|
|
|
application.ui \
|
|
|
|
settings.ui \
|
|
|
|
file.ui \
|
2010-07-07 20:18:42 +02:00
|
|
|
projectfile.ui \
|
2010-02-27 18:26:13 +01: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 \
|
2010-02-27 18:26:13 +01:00
|
|
|
cppcheck_en.ts \
|
|
|
|
cppcheck_se.ts \
|
|
|
|
cppcheck_de.ts \
|
|
|
|
cppcheck_pl.ts \
|
|
|
|
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 \
|
2010-07-07 20:18:42 +02:00
|
|
|
projectfiledialog.h \
|
2009-09-04 20:59:25 +02:00
|
|
|
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 \
|
2010-07-07 20:18:42 +02:00
|
|
|
projectfiledialog.cpp \
|
2009-09-04 20:59:25 +02:00
|
|
|
report.cpp \
|
|
|
|
txtreport.cpp \
|
|
|
|
xmlreport.cpp \
|
|
|
|
translationhandler.cpp \
|
|
|
|
csvreport.cpp
|
2009-06-13 22:14:09 +02:00
|
|
|
|
|
|
|
win32 {
|
2010-02-27 18:26:13 +01:00
|
|
|
RC_FILE = cppcheck-gui.rc
|
|
|
|
HEADERS += ../cli/resource.h
|
|
|
|
LIBS += -lshlwapi -lhtmlhelp
|
2009-06-13 22:14:09 +02:00
|
|
|
}
|
2009-09-04 20:59:25 +02:00
|
|
|
|
|
|
|
# run lrelease before build
|
|
|
|
lrelease.commands = lrelease gui.pro
|
|
|
|
QMAKE_EXTRA_TARGETS += lrelease
|
|
|
|
PRE_TARGETDEPS += lrelease
|