-
Notifications
You must be signed in to change notification settings - Fork 2
/
realboot.pro
101 lines (87 loc) · 2.66 KB
/
realboot.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
QT += core gui widgets concurrent
TARGET = realboot
TEMPLATE = app
CONFIG += force_debug_info
# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
# This crap lets us run files with the same name, in the same project, through moc, without conflicts.
# Good idea? Probably not.
CONFIG += object_parallel_to_source
CONFIG += no_batch # above doesn't properly work with nmake without this
defineReplace(fnPath) {
variable = $$1
variable = $$replace(variable, $$basename(variable), "")
variable = $$replace(variable, "\\\\", "_")
variable = $$replace(variable, "\.", "_")
variable = $$replace(variable, "/", "_")
return($$variable)
}
QMAKE_H_MOD_MOC = moc_${QMAKE_FUNC_fnPath}
QMAKE_CPP_MOD_MOC = moc_${QMAKE_FUNC_fnPath}
QMAKE_MOD_RCC = qrc${QMAKE_FUNC_fnPath}
# But I'm going with it anyway.
include(kofuna/kofuna.pri)
chaosheadnoah {
DEFINES += GAME_CHAOSHEADNOAH
RESOURCES += profiles/chaosheadnoah.qrc
}
steinsgate {
DEFINES += GAME_STEINSGATE
RESOURCES += profiles/steinsgate.qrc
}
steinsgateelite {
DEFINES += GAME_STEINSGATEELITE
RESOURCES += profiles/steinsgateelite.qrc
}
chaosheadlcc {
DEFINES += GAME_CHAOSHEADLCC
RESOURCES += profiles/chaosheadlcc.qrc
}
steinsgatemde {
DEFINES += GAME_STEINSGATEMDE
RESOURCES += profiles/steinsgatemde.qrc
}
roboticsnoteselite {
DEFINES += GAME_ROBOTICSNOTESELITE
RESOURCES += profiles/roboticsnoteselite.qrc
}
steinsgatelbp {
DEFINES += GAME_STEINSGATELBP
RESOURCES += profiles/steinsgatelbp.qrc
}
chaoschild {
DEFINES += GAME_CHAOSCHILD
RESOURCES += profiles/chaoschild.qrc
}
steinsgate0 {
DEFINES += GAME_STEINSGATE0
RESOURCES += profiles/steinsgate0.qrc
}
chaoschildlcc {
DEFINES += GAME_CHAOSCHILDLCC
RESOURCES += profiles/chaoschildlcc.qrc
}
roboticsnotesdash {
DEFINES += GAME_ROBOTICSNOTESDASH
RESOURCES += profiles/roboticsnotesdash.qrc
}
anonymouscode {
DEFINES += GAME_ANONYMOUSCODE
RESOURCES += profiles/anonymouscode.qrc
}
steam {
DEFINES += GAME_STEAM
}
DEFINES += WIN32_LEAN_AND_MEAN
INCLUDEPATH += $$(DXSDK_DIR)/include vendor/curl/include
LIBS += $$quote(-L$$PWD/vendor/curl/lib) libcurl.lib $$quote(-L$$(DXSDK_DIR)/lib/x86) dinput8.lib dxguid.lib Shell32.lib Ole32.lib OleAut32.lib
INCLUDEPATH += src
SOURCES += $$files(src/*.cpp, true)
SOURCES += $$files(src/*.c, true)
HEADERS += $$files(src/*.h, true)
FORMS += $$files(src/*.ui, true)
RESOURCES += \
main.qrc