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: Musashi is built and linked in as a library, so there should be no more
10 # problems with using the qmake build system as-is. :-)
11 # Other than on the Mac, where it stupidly defaults to making XCode binaries. >:-(
12 # Well, we fixed it in the Makefile, by doing platfrom detection there. :-/
15 TARGET = virtualjaguar
16 CONFIG += qt warn_on release debug
17 RESOURCES += virtualjaguar.qrc
18 #LIBS += -lz -Lobj -ljaguarcore -lmusashi
19 LIBS += -lz -Lobj -ljaguarcore -lm68k
22 # We stuff all the intermediate crap into obj/ so it won't confuse us mere mortals ;-)
28 # Platform specific defines
29 win32 { DEFINES += __GCCWIN32__ }
30 else:macx { DEFINES += __GCCUNIX__ __THINK_STUPID__ }
31 else:unix { DEFINES += __GCCUNIX__ }
33 # SDL (to link statically on Mac)
34 macx { LIBS += `sdl-config --static-libs` }
35 else { LIBS += `sdl-config --libs` }
38 # NOTE: May have to put -Wall back in, but only on non-release cycles. It can
39 # cause problems if you're not careful. (Can do this via command line in qmake)
40 QMAKE_CFLAGS += `sdl-config --cflags` -O2 -ffast-math -fomit-frame-pointer
41 QMAKE_CXXFLAGS += `sdl-config --cflags` -O2 -ffast-math -fomit-frame-pointer
43 # Need to add libcdio stuffola (checking/including)...
60 src/gui/configdialog.h \
61 src/gui/controllertab.h \
62 src/gui/controllerwidget.h \
63 src/gui/filelistmodel.h \
64 src/gui/filepicker.h \
65 src/gui/filethread.h \
66 src/gui/generaltab.h \
69 src/gui/imagedelegate.h \
70 src/gui/keygrabber.h \
72 # src/gui/sdljoystick.h
76 src/gui/alpinetab.cpp \
78 src/gui/configdialog.cpp \
79 src/gui/controllertab.cpp \
80 src/gui/controllerwidget.cpp \
81 src/gui/filelistmodel.cpp \
82 src/gui/filepicker.cpp \
83 src/gui/filethread.cpp \
84 src/gui/generaltab.cpp \
85 src/gui/glwidget.cpp \
87 src/gui/imagedelegate.cpp \
88 src/gui/keygrabber.cpp \
90 # src/gui/sdljoystick.cpp