]> Shamusworld >> Repos - virtualjaguar/blob - virtualjaguar.pro
Added preliminary full screen support.
[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: M68000 core 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
17 # debug
18 RESOURCES += virtualjaguar.qrc
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 += `$(CROSS)sdl-config --libs` }
36
37 # Icon on Win32
38 win32 { LIBS += res/vj-ico.o }
39
40 # C/C++ flags...
41 # NOTE: May have to put -Wall back in, but only on non-release cycles. It can
42 #       cause problems if you're not careful. (Can do this via command line in qmake)
43 QMAKE_CFLAGS += `$(CROSS)sdl-config --cflags`
44 QMAKE_CXXFLAGS += `$(CROSS)sdl-config --cflags`
45
46 # Need to add libcdio stuffola (checking/including)...
47
48 INCLUDEPATH += \
49         src \
50         src/gui
51
52 DEPENDPATH = \
53         src \
54         src/gui \
55         src/gui/debug \
56         src/m68000
57
58 # The GUI
59
60 HEADERS = \
61         src/gui/about.h \
62         src/gui/alpinetab.h \
63         src/gui/app.h \
64         src/gui/configdialog.h \
65         src/gui/controllertab.h \
66         src/gui/controllerwidget.h \
67         src/gui/filelistmodel.h \
68         src/gui/filepicker.h \
69         src/gui/filethread.h \
70         src/gui/generaltab.h \
71         src/gui/glwidget.h \
72         src/gui/help.h \
73         src/gui/imagedelegate.h \
74         src/gui/keygrabber.h \
75         src/gui/mainwin.h \
76         src/gui/debug/cpubrowser.h \
77         src/gui/debug/memorybrowser.h \
78 #       src/gui/sdljoystick.h
79
80 SOURCES = \
81         src/gui/about.cpp \
82         src/gui/alpinetab.cpp \
83         src/gui/app.cpp \
84         src/gui/configdialog.cpp \
85         src/gui/controllertab.cpp \
86         src/gui/controllerwidget.cpp \
87         src/gui/filelistmodel.cpp \
88         src/gui/filepicker.cpp \
89         src/gui/filethread.cpp \
90         src/gui/generaltab.cpp \
91         src/gui/glwidget.cpp \
92         src/gui/help.cpp \
93         src/gui/imagedelegate.cpp \
94         src/gui/keygrabber.cpp \
95         src/gui/mainwin.cpp \
96         src/gui/debug/cpubrowser.cpp \
97         src/gui/debug/memorybrowser.cpp \
98 #       src/gui/sdljoystick.cpp