This repository was archived by the owner on Sep 12, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathkfx.pro
63 lines (49 loc) · 2.03 KB
/
kfx.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
#------------------------------------------------------------------------------
# Project configuration
#------------------------------------------------------------------------------
LANGUAGE = C++
QT += opengl
CONFIG += qt thread debug_and_release
#-- NOTE: The resource name must match the one used in code/source/main.cpp --
QMAKE_RESOURCE_FLAGS += -compress 9 -name kfx_resource
#------------------------------------------------------------------------------
# Platform specific stuff
#------------------------------------------------------------------------------
win32:include(kfx.windows.pri)
macx:include(kfx.macosx.pri)
linux:include(kfx.linux.pri)
#------------------------------------------------------------------------------
# Intermediate directories
#------------------------------------------------------------------------------
#-- NOTE: The opening brace must follow on the same line as the condition --
CONFIG(debug, debug|release) {
DEFINES += DEBUG
DESTDIR = $${BuildDir}/debug
}
CONFIG(release, debug|release) {
DEFINES += NDEBUG
DESTDIR = $${BuildDir}/release
}
OBJECTS_DIR = $${DESTDIR}/obj
MOC_DIR = $${DESTDIR}/moc
RCC_DIR = $${DESTDIR}/rcc
UI_DIR = $${DESTDIR}/ui
message(---- Output Directories ----)
message($${DESTDIR})
message($${OBJECTS_DIR})
message($${MOC_DIR})
message($${RCC_DIR})
message($${UI_DIR})
#------------------------------------------------------------------------------
# Resources and forms
#------------------------------------------------------------------------------
RESOURCES += code/resource/*.qrc
FORMS += code/resource/*.ui
#------------------------------------------------------------------------------
# Header files
#------------------------------------------------------------------------------
HEADERS += code/source/*.h
#------------------------------------------------------------------------------
# Source files
#------------------------------------------------------------------------------
SOURCES += code/source/*.cpp