/
mupen64plus-qt.pro
92 lines (81 loc) · 2.43 KB
/
mupen64plus-qt.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
QT += core network xml sql
lessThan(QT_MAJOR_VERSION, 5) {
QT += gui
} else {
QT += widgets
}
macx {
TARGET = Mupen64Plus-Qt
} else {
TARGET = mupen64plus-qt
}
TEMPLATE = app
macx:ICON = dist/macosx/mupen64plus.icns
win32:RC_FILE = dist/windows/icon.rc
SOURCES += src/main.cpp \
src/common.cpp \
src/dialogs/controlinfodialog.cpp \
src/dialogs/keycodesdialog.cpp \
src/mainwindow.cpp \
src/dialogs/aboutdialog.cpp \
src/dialogs/configeditor.cpp \
src/dialogs/downloaddialog.cpp \
src/dialogs/gamesettingsdialog.cpp \
src/dialogs/logdialog.cpp \
src/dialogs/settingsdialog.cpp \
src/emulation/emulatorhandler.cpp \
src/roms/romcollection.cpp \
src/roms/thegamesdbscraper.cpp \
src/views/gridview.cpp \
src/views/listview.cpp \
src/views/tableview.cpp \
src/views/widgets/clickablewidget.cpp \
src/views/widgets/treewidgetitem.cpp
HEADERS += src/global.h \
src/common.h \
src/dialogs/controlinfodialog.h \
src/dialogs/keycodesdialog.h \
src/mainwindow.h \
src/dialogs/aboutdialog.h \
src/dialogs/configeditor.h \
src/dialogs/downloaddialog.h \
src/dialogs/gamesettingsdialog.h \
src/dialogs/logdialog.h \
src/dialogs/settingsdialog.h \
src/emulation/emulatorhandler.h \
src/roms/romcollection.h \
src/roms/thegamesdbscraper.h \
src/views/gridview.h \
src/views/listview.h \
src/views/tableview.h \
src/views/widgets/clickablewidget.h \
src/views/widgets/treewidgetitem.h
RESOURCES += resources/mupen64plusqt.qrc
FORMS += src/dialogs/gamesettingsdialog.ui \
src/dialogs/settingsdialog.ui
TRANSLATIONS += resources/locale/mupen64plus-qt_fr.ts \
resources/locale/mupen64plus-qt_ru.ts
win32|macx|linux_quazip_static {
CONFIG += staticlib
DEFINES += QUAZIP_STATIC
LIBS += -lz
#Download quazip source and copy the quazip directory to project as quazip5
SOURCES += quazip5/*.cpp
SOURCES += quazip5/*.c
HEADERS += quazip5/*.h
} else {
lessThan(QT_MAJOR_VERSION, 5) {
LIBS += -lquazip
} else {
# Debian distributions use a different library name for Qt5 quazip
system("which dpkg > /dev/null 2>&1") {
system("dpkg -l | grep libquazip-qt5-dev | grep ^ii > /dev/null") {
LIBS += -lquazip-qt5
} else {
LIBS += -lquazip5
}
} else {
LIBS += -lquazip5
}
}
}