forked from alemuntoni/HeightFieldDecomposition
-
Notifications
You must be signed in to change notification settings - Fork 0
/
HeightFieldDecomposition.pro
92 lines (80 loc) · 1.96 KB
/
HeightFieldDecomposition.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
CONFIG(debug, debug|release){
DEFINES += DEBUG
}
CONFIG(release, debug|release){
DEFINES -= DEBUG
#just uncomment next lines if you want to ignore asserts and got a more optimized binary
CONFIG += FINAL_RELEASE
}
#CONFIG += c++14
DESTDIR = release
CONFIG += ALL
CONFIG += SERVER_MODE
ALL {
CONFIG += CG3_CORE CG3_DATA_STRUCTURES CG3_MESHES CG3_ALGORITHMS CG3_CGAL CG3_CINOLIB CG3_LIBIGL CG3_VIEWER
include(cg3lib/cg3.pri)
}
SERVER_MODE {
DEFINES += SERVER_MODE
CONFIG += FINAL_RELEASE
message(Server mode!)
}
!SERVER_MODE {
message(GUI mode)
}
message(Included modules: $$MODULES)
FINAL_RELEASE {
message(Final Release!)
}
FINAL_RELEASE {
unix:!macx{
QMAKE_CXXFLAGS_RELEASE -= -g -O2
QMAKE_CXXFLAGS += -O3 -DNDEBUG
}
}
exists($$(GUROBI_HOME)){
message (Gurobi)
INCLUDEPATH += $$(GUROBI_HOME)/include
LIBS += -L$$(GUROBI_HOME)/lib -lgurobi_g++5.2 -lgurobi90
DEFINES += GUROBI_DEFINED
}
HEADERS += \
common.h \
GUI/managers/enginemanager.h \
engine/tricubic.h \
engine/energy.h \
engine/box.h \
engine/boxlist.h \
engine/engine.h \
engine/heightfieldslist.h \
engine/packing.h \
engine/splitting.h \
engine/reconstruction.h \
engine/unsigned_distances.h \
lib/grid/grid.h \
lib/packing/binpack2d.h \
lib/graph/undirectednode.h \
lib/graph/directedgraph.h \
engine/tinyfeaturedetection.h
SOURCES += \
engine/unsigned_distances.cpp \
main.cpp \
common.cpp \
GUI/managers/enginemanager.cpp \
engine/tricubic.cpp \
engine/energy.cpp \
engine/box.cpp \
engine/boxlist.cpp \
engine/engine.cpp \
engine/heightfieldslist.cpp \
engine/packing.cpp \
engine/splitting.cpp \
engine/reconstruction.cpp \
lib/grid/grid.cpp \
lib/grid/drawablegrid.cpp \
engine/tinyfeaturedetection.cpp \
engine/tinyfeaturedetection2.cpp
FORMS += \
GUI/managers/enginemanager.ui
DISTFILES += \
README.md