-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpsiora.pro
69 lines (54 loc) · 1.45 KB
/
psiora.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#-------------------------------------------------
#
# Project created by QtCreator 2016-04-04T23:06:19
#
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = psiora
TEMPLATE = app
#Inclue SDL2 - Win32
win32:DEFINES += "_GNU_SOURCE=1"
#Include SDL2 - Win32 Mingw
win32-g++*:INCLUDEPATH += %SDL2DIR%/i686-w64-mingw32/include/SDL2
win32-g++*:LIBS += %SDL2DIR%/i686-w64-mingw32/lib/libSDL2.dll.a
#Include SDL2 - Win32 VC
win32-msvc*:INCLUDEPATH += %SDL2DIR%/include
win32-msvc*:LIBS += winmm.lib
win32-msvc*:LIBS += %SDL2DIR%/lib/x86/SDL2.lib
#Include SDL2 - Unix
unix:INCLUDEPATH += /usr/include/SDL2
unix:LIBS += `sdl2-config --libs`
unix:QMAKE_CXXFLAGS += `sdl2-config --cflags` -std=c++11
unix:QMAKE_CXXFLAGS -= "-Dmain=SDL_main"
INCLUDEPATH += inc/ src/
SOURCES += src/main.cpp \
src/mainwindow.cpp \
src/renderer.cpp \
src/keypad.cpp \
src/emucore.cpp \
src/memory.cpp \
src/scic.cpp \
src/cpu.cpp \
src/datapak.cpp \
src/cpu_opcodes.cpp \
src/lcd.cpp \
src/debug.cpp \
src/createpakdialog.cpp
HEADERS += inc/mainwindow.h \
inc/renderer.h \
inc/keypad.h \
inc/emucore.h \
inc/global.h \
inc/memory.h \
inc/scic.h \
inc/cpu.h \
inc/datapak.h \
inc/lcd.h \
inc/debug.h \
inc/createpakdialog.h
FORMS += forms/mainwindow.ui \
forms/createpakdialog.ui
DISTFILES +=
RESOURCES += \
resources.qrc