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 #win32 { LIBS += res/vj.o; $(CROSS)windres -i res/vj.rc -o vj.o --include-dir=./res }
43 win32 { RC_FILE = res/vj.rc }
44 macx { ICON = res/vj-icon.icns }
47 # NOTE: May have to put -Wall back in, but only on non-release cycles. It can
48 # cause problems if you're not careful. (Can do this via command line in
50 QMAKE_CFLAGS += `$(CROSS)sdl-config --cflags`
51 QMAKE_CXXFLAGS += `$(CROSS)sdl-config --cflags`
53 # Need to add libcdio stuffola (checking/including)...
55 # Translations. NB: Nobody has stepped up to do any :-P so these are dummy
77 src/gui/configdialog.h \
78 src/gui/controllertab.h \
79 src/gui/controllerwidget.h \
80 src/gui/filelistmodel.h \
81 src/gui/filepicker.h \
82 src/gui/filethread.h \
84 src/gui/generaltab.h \
87 src/gui/imagedelegate.h \
88 src/gui/keygrabber.h \
91 src/gui/debug/cpubrowser.h \
92 src/gui/debug/m68kdasmbrowser.h \
93 src/gui/debug/memorybrowser.h \
94 src/gui/debug/opbrowser.h \
95 src/gui/debug/riscdasmbrowser.h
99 src/gui/alpinetab.cpp \
101 src/gui/configdialog.cpp \
102 src/gui/controllertab.cpp \
103 src/gui/controllerwidget.cpp \
104 src/gui/filelistmodel.cpp \
105 src/gui/filepicker.cpp \
106 src/gui/filethread.cpp \
107 src/gui/gamepad.cpp \
108 src/gui/generaltab.cpp \
109 src/gui/glwidget.cpp \
111 src/gui/imagedelegate.cpp \
112 src/gui/keygrabber.cpp \
113 src/gui/mainwin.cpp \
114 src/gui/profile.cpp \
115 src/gui/debug/cpubrowser.cpp \
116 src/gui/debug/m68kdasmbrowser.cpp \
117 src/gui/debug/memorybrowser.cpp \
118 src/gui/debug/opbrowser.cpp \
119 src/gui/debug/riscdasmbrowser.cpp