forked from MrKepzie/Natron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProject.pro
47 lines (38 loc) · 1.17 KB
/
Project.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
#This Source Code Form is subject to the terms of the Mozilla Public
#License, v. 2.0. If a copy of the MPL was not distributed with this
#file, You can obtain one at http://mozilla.org/MPL/2.0/.
TEMPLATE = subdirs
# build things in the order we give
CONFIG += ordered
SUBDIRS += \
HostSupport \
Engine \
Gui \
Renderer \
Tests \
App
win32|mac|linux {SUBDIRS+=CrashReporter}
OTHER_FILES += \
Global/Enums.h \
Global/GLIncludes.h \
Global/GlobalDefines.h \
Global/KeySymbols.h \
Global/Macros.h \
Global/MemoryInfo.h \
Global/QtCompat.h \
global.pri \
config.pri
include(global.pri)
include(config.pri)
*-xcode {
# Qt 4.8.5's XCode generator has a bug and places moc_*.cpp files next to the sources instead of inside the build dir
# However, setting the MOC_DIR doesn't fix that (Xcode build fails)
# Simple rtule: don't use Xcode
#MOC_DIR = $$OUT_PWD
warning("Xcode generator wrongly places the moc files in the source directory. You thus cannot compile with different Qt versions using Xcode.")
}
CONFIG(debug, debug|release){
message("Compiling in DEBUG mode.")
} else {
message("Compiling in RELEASE mode.")
}