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. >:-(
14 TARGET = virtualjaguar
15 CONFIG += qt warn_on release debug
16 RESOURCES += virtualjaguar.qrc
17 LIBS += `sdl-config --libs` -lz -Lobj -lmusashi
20 # We stuff all the intermediate crap into obj/ so it won't confuse us mere mortals ;-)
26 # Platform specific defines
27 win32 { DEFINES += __GCCWIN32__ }
28 macx { DEFINES += __GCCUNIX__ _OSX_ }
29 unix { DEFINES += __GCCUNIX__ }
31 #CFLAGS := -MMD -Wall -Wno-switch -O2 -D$(SYSTYPE) -ffast-math -fomit-frame-pointer `sdl-config --cflags`
32 #CPPFLAGS := -MMD -Wall -Wno-switch -Wno-non-virtual-dtor -O2 -D$(SYSTYPE) -Wno-trigraphs \
33 # $(HAVECDIO) -ffast-math -fomit-frame-pointer `sdl-config --cflags` -g
36 # NOTE: May have to put -Wall back in, but only on non-release cycles. It can
37 # cause problems if you're not careful.
38 QMAKE_CFLAGS += `sdl-config --cflags` -O2 -ffast-math -fomit-frame-pointer
39 QMAKE_CXXFLAGS += `sdl-config --cflags` -O2 -ffast-math -fomit-frame-pointer
41 # Need to add libcdio stuffola (checking/including)...
56 src/gui/configdialog.h \
57 src/gui/controllertab.h \
58 src/gui/filelistmodel.h \
59 src/gui/filepicker.h \
60 src/gui/filethread.h \
61 src/gui/generaltab.h \
63 src/gui/imagedelegate.h \
69 src/gui/configdialog.cpp \
70 src/gui/controllertab.cpp \
71 src/gui/filelistmodel.cpp \
72 src/gui/filepicker.cpp \
73 src/gui/filethread.cpp \
74 src/gui/generaltab.cpp \
75 src/gui/glwidget.cpp \
76 src/gui/imagedelegate.cpp \
79 # The core (soon to be made into a library of its own)
131 src/universalhdr.cpp \