-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathARAPFrameWork.pro
75 lines (68 loc) · 1.58 KB
/
ARAPFrameWork.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
TEMPLATE = app
TARGET = arapFramework
MOC_DIR = ./moc
OBJECTS_DIR = ./obj
DEPENDPATH += ./include
DISTFILES += *.png
QT *= xml \
opengl
CONFIG -= debug \
debug_and_release
CONFIG += release \
qt \
opengl \
warn_on \
thread \
rtti \
console \
embed_manifest_exe
# to specify with your own configuration: locate libcholmod folder (likely in the folder /usr/include #
EXT_DIR = ../../extern
INCLUDEPATH = ./Manipulator \
/usr/include/suitesparse
HEADERS += Window.h \
ARAPViewer.h \
Manipulator/PCATools.h \
Manipulator/Manipulator.h \
Vec3D.h \
GLUtilityMethods.h \
Manipulator/RectangleSelection.h \
MeshManipInterface.h \
AsRigidAsPossible.h \
Triangle.h \
Edge.h \
Mesh.h \
openglincludeQtComp.h
SOURCES += Window.cpp \
ARAPViewer.cpp \
Main.cpp \
GLUtilityMethods.cpp \
AsRigidAsPossible.cpp \
Mesh.cpp
LIBS += -L/usr/lib/x86_64-linux-gnu \
-lgslcblas \
-lgsl \
-lblas \
-lQGLViewer-qt5 \
-lglut \
-lGLU \
-lgomp
# ------------------------------ for CHOLMOD : ------------------------------#
QMAKE_LIBDIR +=$${EXT_DIR}/libcholmod/CHOLMOD/Lib \
$${EXT_DIR}/libcholmod/AMD/Lib \
$${EXT_DIR}/libcholmod/COLAMD/Lib \
$${EXT_DIR}/libcholmod/CCOLAMD/Lib \
$${EXT_DIR}/libcholmod/CAMD/Lib
LIBS += -lcholmod \
-lamd \
-lcolamd \
-lccolamd \
-lcamd \
-llapack \
# -lgfortran \
# -lgfortranbegin \
# -lgfortran \
-lm
INCLUDEPATH += $${EXT_DIR}/libcholmod/CHOLMOD/Include \
$${EXT_DIR}/libcholmod/UFconfig \
/usr/include/