]> Shamusworld >> Repos - virtualjaguar/blob - virtualjaguar.pro
Added switch to disable untuned tank circuit, for slower computers.
[virtualjaguar] / virtualjaguar.pro
1 #
2 # Virtual Jaguar Qt project file
3 #
4 # by James Hammons
5 # Copyright (C) 2011 Underground Software
6 #
7 # See the README and GPLv3 files for licensing and warranty information
8 #
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. :-/
13 #
14
15 TARGET     = virtualjaguar
16 CONFIG    += qt warn_on release debug
17 RESOURCES += virtualjaguar.qrc
18 #LIBS      += -Lobj -ljaguarcore -lz -lmusashi
19 LIBS      += -Lobj -ljaguarcore -lz -lm68k
20 QT        += opengl
21
22 # We stuff all the intermediate crap into obj/ so it won't confuse us mere mortals ;-)
23 OBJECTS_DIR = obj
24 MOC_DIR     = obj
25 RCC_DIR     = obj
26 UI_DIR      = obj
27
28 # Platform specific defines
29 win32     { DEFINES += __GCCWIN32__ }
30 else:macx { DEFINES += __GCCUNIX__ __THINK_STUPID__ }
31 else:unix { DEFINES += __GCCUNIX__ }
32
33 # SDL (to link statically on Mac)
34 macx { LIBS += `sdl-config --static-libs` }
35 else { LIBS += `sdl-config --libs` }
36
37 # C/C++ flags...
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
42
43 # Need to add libcdio stuffola (checking/including)...
44
45 INCLUDEPATH += \
46         src \
47         src/gui
48
49 DEPENDPATH = \
50         src \
51         src/gui \
52         src/m68000
53
54 # The GUI
55
56 HEADERS = \
57         src/gui/about.h \
58         src/gui/alpinetab.h \
59         src/gui/app.h \
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 \
67         src/gui/glwidget.h \
68         src/gui/help.h \
69         src/gui/imagedelegate.h \
70         src/gui/keygrabber.h \
71         src/gui/mainwin.h \
72 #       src/gui/sdljoystick.h
73
74 SOURCES = \
75         src/gui/about.cpp \
76         src/gui/alpinetab.cpp \
77         src/gui/app.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 \
86         src/gui/help.cpp \
87         src/gui/imagedelegate.cpp \
88         src/gui/keygrabber.cpp \
89         src/gui/mainwin.cpp \
90 #       src/gui/sdljoystick.cpp