forked from MrKepzie/Natron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Project.pro
70 lines (62 loc) · 1.95 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# ***** BEGIN LICENSE BLOCK *****
# This file is part of Natron <http://www.natron.fr/>,
# Copyright (C) 2016 INRIA and Alexandre Gauthier
#
# Natron is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# Natron is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Natron. If not, see <http://www.gnu.org/licenses/gpl-2.0.html>
# ***** END LICENSE BLOCK *****
TEMPLATE = subdirs
# build things in the order we give
CONFIG += ordered
!disable-breakpad {
SUBDIRS += BreakpadClient CrashReporter CrashReporterCLI
}
SUBDIRS += \
HostSupport \
libs/gflags \
libs/glog \
libs/ceres \
libs/libmv \
libs/openMVG \
libs/qhttpserver \
Engine \
Renderer \
Gui \
Tests \
App
OTHER_FILES += \
Global/Enums.h \
Global/GLIncludes.h \
Global/GlobalDefines.h \
Global/KeySymbols.h \
Global/Macros.h \
Global/MemoryInfo.h \
Global/ProcInfo.h \
Global/QtCompat.h \
global.pri \
config.pri
include(global.pri)
include(config.pri)
include(libs.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.")
}