2 # Virtual Jaguar Qt project file
5 # Copyright (C) 2011 Underground Software
7 # See the README and GPLv3 files for licensing and warranty information
9 # NOTE: M68000 core is built and linked in as a library, so there should be no
10 # more problems with using the qmake build system as-is. :-)
11 # Other than on the Mac, where it stupidly defaults to making XCode
12 # binaries. >:-( Well, we fixed it in the Makefile, by doing platform
13 # detection there. :-/
16 TARGET = virtualjaguar
17 CONFIG += qt warn_on release
19 RESOURCES += virtualjaguar.qrc
20 LIBS += -Lobj -Lsrc/m68000/obj -ljaguarcore -lz -lm68k
23 # We stuff all the intermediate crap into obj/ so it won't confuse us mere
30 # Platform specific defines
31 win32 { DEFINES += __GCCWIN32__ }
32 else:macx { DEFINES += __GCCUNIX__ __THINK_STUPID__ }
33 else:unix { DEFINES += __GCCUNIX__ }
35 # SDL (to link statically on Mac)
36 macx { LIBS += `sdl-config --static-libs` }
37 else { LIBS += `$(CROSS)sdl-config --libs` }
40 #win32 { LIBS += res/vj-ico.o }
41 win32 { ICON = res/vj.ico }
42 macx { ICON = res/vj-icon.icns }
45 # NOTE: May have to put -Wall back in, but only on non-release cycles. It can
46 # cause problems if you're not careful. (Can do this via command line in
48 QMAKE_CFLAGS += `$(CROSS)sdl-config --cflags`
49 QMAKE_CXXFLAGS += `$(CROSS)sdl-config --cflags`
51 # Need to add libcdio stuffola (checking/including)...
53 # Translations. NB: Nobody has stepped up to do any :-P so these are dummy
75 src/gui/configdialog.h \
76 src/gui/controllertab.h \
77 src/gui/controllerwidget.h \
78 src/gui/filelistmodel.h \
79 src/gui/filepicker.h \
80 src/gui/filethread.h \
82 src/gui/generaltab.h \
85 src/gui/imagedelegate.h \
86 src/gui/keygrabber.h \
89 src/gui/debug/cpubrowser.h \
90 src/gui/debug/m68kdasmbrowser.h \
91 src/gui/debug/memorybrowser.h \
92 src/gui/debug/opbrowser.h \
93 src/gui/debug/riscdasmbrowser.h
97 src/gui/alpinetab.cpp \
99 src/gui/configdialog.cpp \
100 src/gui/controllertab.cpp \
101 src/gui/controllerwidget.cpp \
102 src/gui/filelistmodel.cpp \
103 src/gui/filepicker.cpp \
104 src/gui/filethread.cpp \
105 src/gui/gamepad.cpp \
106 src/gui/generaltab.cpp \
107 src/gui/glwidget.cpp \
109 src/gui/imagedelegate.cpp \
110 src/gui/keygrabber.cpp \
111 src/gui/mainwin.cpp \
112 src/gui/profile.cpp \
113 src/gui/debug/cpubrowser.cpp \
114 src/gui/debug/m68kdasmbrowser.cpp \
115 src/gui/debug/memorybrowser.cpp \
116 src/gui/debug/opbrowser.cpp \
117 src/gui/debug/riscdasmbrowser.cpp