Project has switched to QT 5.12.0 library 64bits for VS 2017
[clinton/Virtual-Jaguar-Rx.git] / virtualjaguar.pro
1 #
2 # Virtual Jaguar Qt project file
3 #
4 # by James Hammons
5 # Copyright (C) 2011 Underground Software
6 #
7 # Modified by Jean-Paul Mari
8 #
9 # See the README and GPLv3 files for licensing and warranty information
10 #
11 # NOTE: M68000 core is built and linked in as a library, so there should be no
12 # more problems with using the qmake build system as-is. :-)
13 # Other than on the Mac, where it stupidly defaults to making XCode
14 # binaries. >:-( Well, we fixed it in the Makefile, by doing platform
15 # detection there. :-/
16 #
17
18 TARGET = virtualjaguar
19 CONFIG += qt warn_on release
20 # debug
21 RESOURCES += src/gui/virtualjaguar.qrc
22 LIBS += -Lobj -Lsrc/m68000/obj -ljaguarcore -lz -lm68k -llibelf -llibdwarf -lelf
23 QT += opengl widgets
24
25 # We stuff all the intermediate crap into obj/ so it won't confuse us mere
26 # mortals ;-)
27 OBJECTS_DIR = obj
28 MOC_DIR = obj
29 RCC_DIR = obj
30 UI_DIR = obj
31
32 # Platform specific defines
33 win32 { DEFINES += __GCCWIN32__ }
34 else:macx { DEFINES += __GCCUNIX__ __THINK_STUPID__ }
35 else:unix { DEFINES += __GCCUNIX__ }
36
37 # SDL (to link statically on Mac)
38 macx { LIBS += `sdl-config --static-libs` }
39 #else:win32 { LIBS += `$(CROSS)sdl-config --libs` }
40 #else:win32 { LIBS += `$(CROSS)sdl-config --static-libs` -static-libgcc}
41 else:win32 { LIBS += `$(CROSS)sdl-config --static-libs` -static -static-libgcc -static-libstdc++ }
42 else { LIBS += `$(CROSS)sdl-config --libs` }
43 #else { LIBS += `$(CROSS)sdl-config --static-libs` }
44
45 # Icon on Win32, Mac
46 #win32 { LIBS += res/vj-ico.o }
47 #win32 { ICON = res/vj.ico }
48 #win32 { LIBS += obj/vj.o; $(CROSS)windres -i res/vj.rc -o obj/vj.o --include-dir=./res }
49 win32 { RC_FILE = res/vj.rc }
50 macx { ICON = res/vj-icon.icns }
51
52 # C/C++ flags...
53 # NOTE: May have to put -Wall back in, but only on non-release cycles. It can
54 # cause problems if you're not careful. (Can do this via command line in
55 # qmake)
56 QMAKE_CFLAGS += `$(CROSS)sdl-config --cflags`
57 QMAKE_CXXFLAGS += `$(CROSS)sdl-config --cflags`
58
59 # Need to add libcdio stuffola (checking/including)...
60
61 # Translations. NB: Nobody has stepped up to do any :-P so these are dummy
62 # translations
63 # Removed for now, they interfere with proper running in non-English locales for
64 # some reason. :-/
65 #TRANSLATIONS = \
66 # virtualjaguar_fr.ts \
67 # virtualjaguar_gr.ts
68
69 INCLUDEPATH += \
70 src \
71 src/debugger \
72 src/gui
73
74 DEPENDPATH = \
75 src \
76 src/debugger \
77 src/gui \
78 src/gui/debug \
79 src/m68000
80
81 # The GUI
82
83 HEADERS = \
84 src/gui/about.h \
85 src/gui/alpinetab.h \
86 src/gui/app.h \
87 src/gui/configdialog.h \
88 src/gui/controllertab.h \
89 src/gui/controllerwidget.h \
90 src/gui/filelistmodel.h \
91 src/gui/filepicker.h \
92 src/gui/filethread.h \
93 src/gui/gamepad.h \
94 src/gui/generaltab.h \
95 src/gui/modelsbiostab.h \
96 src/gui/keybindingstab.h \
97 src/gui/glwidget.h \
98 src/gui/help.h \
99 src/gui/imagedelegate.h \
100 src/gui/keygrabber.h \
101 src/gui/mainwin.h \
102 src/gui/profile.h \
103 src/gui/emustatus.h \
104 src/gui/debug/cpubrowser.h \
105 src/gui/debug/m68kdasmbrowser.h \
106 src/gui/debug/memorybrowser.h \
107 src/gui/debug/opbrowser.h \
108 src/gui/debug/riscdasmbrowser.h \
109 src/gui/debug/stackbrowser.h \
110 src/debugger/debuggertab.h \
111 src/debugger/DasmWin.h \
112 src/debugger/m68kDasmWin.h \
113 src/debugger/DBGManager.h \
114 src/debugger/DSPDasmWin.h \
115 src/debugger/GPUDasmWin.h \
116 src/debugger/HWLABELManager.h \
117 src/debugger/ELFManager.h \
118 src/debugger/allwatchbrowser.h \
119 src/debugger/localbrowser.h \
120 src/debugger/DWARFManager.h \
121 src/debugger/memory1browser.h \
122 src/debugger/heapallocatorbrowser.h \
123 src/debugger/BreakpointsWin.h \
124 src/debugger/VideoWin.h
125 src/debugger/FilesrcListWin.h \
126 src/debugger/callstackbrowser.h \
127 src/debugger/exceptionvectortablebrowser.h \
128 src/debugger/NewFnctBreakpointWin.h \
129 src/debugger/CartFilesListWin.h \
130 src/log.h \
131 src/unzip.h \
132 src/crc32.h \
133 src/settings.h \
134 src/file.h \
135 src/LEB128.h
136
137 SOURCES = \
138 src/gui/about.cpp \
139 src/gui/alpinetab.cpp \
140 src/gui/app.cpp \
141 src/gui/configdialog.cpp \
142 src/gui/controllertab.cpp \
143 src/gui/controllerwidget.cpp \
144 src/gui/filelistmodel.cpp \
145 src/gui/filepicker.cpp \
146 src/gui/filethread.cpp \
147 src/gui/gamepad.cpp \
148 src/gui/generaltab.cpp \
149 src/gui/modelsbiostab.cpp \
150 src/gui/keybindingstab.cpp \
151 src/gui/glwidget.cpp \
152 src/gui/help.cpp \
153 src/gui/imagedelegate.cpp \
154 src/gui/keygrabber.cpp \
155 src/gui/mainwin.cpp \
156 src/gui/profile.cpp \
157 src/gui/emustatus.cpp \
158 src/gui/debug/cpubrowser.cpp \
159 src/gui/debug/m68kdasmbrowser.cpp \
160 src/gui/debug/memorybrowser.cpp \
161 src/gui/debug/opbrowser.cpp \
162 src/gui/debug/riscdasmbrowser.cpp \
163 src/gui/debug/stackbrowser.cpp \
164 src/debugger/debuggertab.cpp \
165 src/debugger/DasmWin.cpp \
166 src/debugger/m68kDasmWin.cpp \
167 src/debugger/DBGManager.cpp \
168 src/debugger/DSPDasmWin.cpp \
169 src/debugger/GPUDasmWin.cpp \
170 src/debugger/HWLABELManager.cpp \
171 src/debugger/ELFManager.cpp \
172 src/debugger/allwatchbrowser.cpp \
173 src/debugger/localbrowser.cpp \
174 src/debugger/DWARFManager.cpp \
175 src/debugger/memory1browser.cpp \
176 src/debugger/heapallocatorbrowser.cpp \
177 src/debugger/BreakpointsWin.cpp \
178 src/debugger/VideoWin.cpp \
179 src/debugger/FilesrcListWin.cpp \
180 src/debugger/exceptionvectortablebrowser.cpp \
181 src/debugger/callstackbrowser.cpp \
182 src/debugger/NewFnctBreakpointWin.cpp \
183 src/debugger/CartFilesListWin.cpp \
184 src/log.cpp \
185 src/unzip.cpp \
186 src/crc32.cpp \
187 src/settings.cpp \
188 src/file.cpp \
189 src/LEB128.cpp
190