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
21 # We stuff all the intermediate crap into obj/ so it won't confuse us mere mortals ;-)
27 # Platform specific defines
28 win32 { DEFINES += __GCCWIN32__ }
29 else:macx { DEFINES += __GCCUNIX__ _OSX_ }
30 else:unix { DEFINES += __GCCUNIX__ }
32 # SDL (to link statically on Mac)
33 macx { LIBS += `sdl-config --static-libs` }
34 else { LIBS += `sdl-config --libs` }
37 # NOTE: May have to put -Wall back in, but only on non-release cycles. It can
38 # cause problems if you're not careful. (Can do this via command line in qmake)
39 QMAKE_CFLAGS += `sdl-config --cflags` -O2 -ffast-math -fomit-frame-pointer
40 QMAKE_CXXFLAGS += `sdl-config --cflags` -O2 -ffast-math -fomit-frame-pointer
42 # Need to add libcdio stuffola (checking/including)...
58 src/gui/configdialog.h \
59 src/gui/controllertab.h \
60 src/gui/controllerwidget.h \
61 src/gui/filelistmodel.h \
62 src/gui/filepicker.h \
63 src/gui/filethread.h \
64 src/gui/generaltab.h \
66 src/gui/imagedelegate.h \
67 src/gui/keygrabber.h \
72 src/gui/alpinetab.cpp \
74 src/gui/configdialog.cpp \
75 src/gui/controllertab.cpp \
76 src/gui/controllerwidget.cpp \
77 src/gui/filelistmodel.cpp \
78 src/gui/filepicker.cpp \
79 src/gui/filethread.cpp \
80 src/gui/generaltab.cpp \
81 src/gui/glwidget.cpp \
82 src/gui/imagedelegate.cpp \
83 src/gui/keygrabber.cpp \