-
Notifications
You must be signed in to change notification settings - Fork 34
/
QUsb2snes.pro
125 lines (107 loc) · 3.58 KB
/
QUsb2snes.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
QT += core websockets serialport network
TARGET = QUsb2Snes
TEMPLATE = app
GIT_TAG_VERSION=$$system(git describe --always --tags)
exists("sq_project_forced_version.pri") {
include("sq_project_forced_version.pri")
GIT_TAG_VERSION=$$SQ_PROJECT_FORCED_VERSION
}
DEFINES += GIT_TAG_VERSION=\\\"$$GIT_TAG_VERSION\\\"
UISOURCES = ui/appui.cpp \
ui/appuimenu.cpp \
ui/appuipoptracker.cpp \
ui/appuiupdate.cpp \
ui/diagnosticdialog.cpp \
ui/systraywidget.cpp \
ui/wizard/deviceselectorpage.cpp \
ui/wizard/devicesetupwizard.cpp \
ui/wizard/lastpage.cpp \
ui/wizard/retroarchpage.cpp \
ui/wizard/sd2snespage.cpp \
ui/wizard/nwapage.cpp \
ui/wizard/snesclassicpage.cpp
UIHEADERS = ui/appui.h \
ui/diagnosticdialog.h \
ui/systraywidget.h \
ui/wizard/deviceselectorpage.h \
ui/wizard/devicesetupwizard.h \
ui/wizard/lastpage.h \
ui/wizard/retroarchpage.h \
ui/wizard/sd2snespage.h \
ui/wizard/nwapage.h \
ui/wizard/snesclassicpage.h
equals(QUSB2SNES_NOGUI, 1) {
message("building QUsb2Snes in NOGUI mode")
DEFINES += "QUSB2SNES_NOGUI=1"
QT -= gui
} else {
QT += gui widgets
FORMS = ui/diagnosticdialog.ui \
ui/systraywidget.ui \
ui/wizard/deviceselectorpage.ui \
ui/wizard/devicesetupwizard.ui \
ui/wizard/lastpage.ui \
ui/wizard/retroarchpage.ui \
ui/wizard/sd2snespage.ui \
ui/wizard/nwapage.ui \
ui/wizard/snesclassicpage.ui
SOURCES = $$UISOURCES
HEADERS = $$UIHEADERS
}
include($$PWD/devices/EmuNWAccess-qt/EmuNWAccess-qt.pri)
INCLUDEPATH += core/
SOURCES += core/adevice.cpp \
core/devicefactory.cpp \
devices/sd2snesfactory.cpp \
devices/snesclassicfactory.cpp \
ipsparse.cpp \
devices/deviceerror.cpp \
devices/luabridge.cpp \
devices/luabridgedevice.cpp \
devices/retroarchdevice.cpp \
devices/retroarchfactory.cpp \
devices/retroarchhost.cpp \
devices/emunetworkaccessfactory.cpp \
devices/emunetworkaccessdevice.cpp \
main.cpp \
rommapping/mapping_hirom.c \
rommapping/mapping_lorom.c \
rommapping/rommapping.c \
rommapping/rominfo.c \
devices/sd2snesdevice.cpp \
devices/snesclassic.cpp \
core/localstorage.cpp \
core/wsserver.cpp \
core/wsservercommands.cpp
HEADERS += core/adevice.h \
core/devicefactory.h \
devices/deviceerror.h \
devices/sd2snesfactory.h \
devices/snesclassicfactory.h \
devices/retroarchfactory.h \
ipsparse.h \
devices/luabridge.h \
devices/luabridgedevice.h \
devices/retroarchdevice.h \
devices/retroarchhost.h \
devices/emunetworkaccessfactory.h \
devices/emunetworkaccessdevice.h \
rommapping/rommapping.h \
rommapping/rominfo.h \
devices/sd2snesdevice.h \
devices/snesclassic.h \
localstorage.h \
core/usb2snes.h \
sqpath.h \
core/wsserver.h
macx: {
message("MAC OS BUILD")
SOURCES += osx/appnap.mm
HEADERS += osx/appnap.h
LIBS += -framework Foundation
QMAKE_INFO_PLIST = osx/Info.plist
ICON = ui/icons/cheer128x128.icns
}
RESOURCES = ressources.qrc
RC_FILE = qusb2snes.rc
TRANSLATIONS = Translations\qusb2snes_fr.ts