-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMultiview.pro
More file actions
120 lines (112 loc) · 3.86 KB
/
Multiview.pro
File metadata and controls
120 lines (112 loc) · 3.86 KB
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
######################################################################
# Automatically generated by qmake (3.1) Thu Mar 5 22:33:41 2020
######################################################################
TEMPLATE = app
TARGET = Multiview
QMAKE_CXXFLAGS+= -fopenmp -g3 -pedantic -Wextra -Wall -msse4.1 -mavx
QMAKE_LFLAGS += -fopenmp -g3
QMAKE_LFLAGS-=-O2
QMAKE_CXXFLAGS-=-O2
QMAKE_CXXFLAGS_RELEASE -= -O1
QMAKE_CXXFLAGS_RELEASE -= -O2
INCLUDEPATH += .
CONFIG += c++17
QMAKE_CXXFLAGS += -std=c++17
# The following define makes your compiler warn you 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
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
DEFINES += OPENEXR
# Input
HEADERS += src/control_ui.h \
src/control_window.h \
src/data.h \
src/geometry.h \
src/image_io.h \
src/image_util.h \
src/io_util.h \
src/iterator_util.h \
src/main.h \
src/OBJ_Loader.h \
src/openglwindow.h \
src/qt_util.h \
src/serialize.h \
src/server.h \
src/session.h \
src/shader.h \
src/transformation.h \
src/util.h \
src/counting_semaphore.h \
src/lang.h \
src/types.h \
src/gl_util.h \
src/mesh.h \
src/enums.h \
src/pair_id.h \
src/cmd.h
FORMS += ui/control_ui.ui
SOURCES += src/control_window.cpp \
src/data.cpp \
src/geometry.cpp \
src/image_io.cpp \
src/image_util.cpp \
src/io_util.cpp \
src/OBJ_Loader.cpp \
src/openglwindow.cpp \
src/qt_util.cpp \
src/serialize.cpp \
src/server.cpp \
src/session.cpp \
src/shader.cpp \
src/transformation.cpp \
src/util.cpp \
src/rendering_view.cpp \
src/qt_gl_util.cpp \
src/python_binding.cpp \
src/counting_semaphore.cpp \
src/lang.cpp \
src/types.cpp \
src/gl_util.cpp \
src/mesh.cpp \
src/pair_id.cpp \
src/cmd.cpp
LIBS += -L/usr/include/x86_64-linux-gnu/python3.8/ -L/usr/include/python3.8/ -lImath -lHalf -lIex -lIexMath -lIlmThread -lIlmImf -ldl -lboost_system -lboost_filesystem -lQt5Widgets -lstdc++fs -lpng -lEGL -lpython3.8 -lboost_graph -lboost_numpy38 -lboost_python38 -lboost_system -lboost_filesystem -lboost_unit_test_framework
INCLUDEPATH += /usr/include/python3.8/ /usr/include/x86_64-linux-gnu/python3.8/
Release {
QMAKE_CXXFLAGS_RELEASE+=-O3
TARGET = Multiview
SOURCES += src/main.cpp
OBJECTS_DIR = ./object
QMAKE_CXXFLAGS += -DNDEBUG
}
Debug {
TARGET = Multiview_debug
SOURCES += src/main.cpp
QMAKE_CXXFLAGS_RELEASE+=-O0
QMAKE_CXXFLAGS+=-fsanitize=address -static-libasan
LIBS+=-fsanitize=address -static-libasan
OBJECTS_DIR = ./object_debug
}
Test {
TARGET = unit_test
SOURCES += src/test_main.cpp
HEADERS += src/io_util_test.h \
src/OBJ_Loader_test.h \
src/geometry_test.h \
src/data_test.h
QMAKE_CXXFLAGS_RELEASE+=-O0
QMAKE_CXXFLAGS+=-fsanitize=address -static-libasan
LIBS+=-fsanitize=address -static-libasan
OBJECTS_DIR = ./object_debug
}
Library {
TARGET = Multiview.so
QMAKE_CXXFLAGS_RELEASE+=-O3
OBJECTS_DIR = ./object
LIBS+=--shared -fPIC
}