forked from stupel/Extraction
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathExtraction.pro
78 lines (64 loc) · 2.14 KB
/
Extraction.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
QT += gui
TEMPLATE = lib
DEFINES += EXTRACTION_LIBRARY
DEFINES += QT_DEPRECATED_WARNINGS
DEFINES += PRO_PWD=\\\"$$_PRO_FILE_PWD_\\\"
CONFIG += c++17
QMAKE_CFLAGS_ISYSTEM=
SOURCES += \
extraction.cpp \
crossingnumber.cpp \
neuralchecker.cpp \
isoconverter.cpp \
orientationfixer.cpp \
extraction_caffenetwork.cpp
HEADERS +=\
extraction.h \
extraction_global.h \
crossingnumber.h \
neuralchecker.h \
isoconverter.h \
orientationfixer.h \
extraction_config.h \
extraction_caffenetwork.h
# ********************************************************************
# DEPENDENCIES
# ********************************************************************
CONFIG += manjaro
#CONFIG += debian
debian {
#CUDA - Debian
unix:!macx: LIBS += -L/usr/local/cuda/lib64/ -lcudart
INCLUDEPATH += /usr/local/cuda/include
DEPENDPATH += /usr/local/cuda/include
#Caffe - Debian (built from source)
unix:!macx: LIBS += -L/usr/local/lib -lcaffe
INCLUDEPATH += /usr/local/include
DEPENDPATH += /usr/local/include
#glog, protobuf, boost - Debian (as a package)
unix:!macx: LIBS += -L/usr/lib/x86_64-linux-gnu/ -lglog
unix:!macx: LIBS += -L/usr/lib/x86_64-linux-gnu/ -lprotobuf
unix:!macx: LIBS += -L/usr/lib/x86_64-linux-gnu/ -lboost_system
INCLUDEPATH += /usr/include
DEPENDPATH += /usr/include
#OpenCV - Debian (as a package)
INCLUDEPATH += /usr/include/opencv4/
}
manjaro {
#CUDA - Manjaro
unix:!macx: LIBS += -L/usr/local/cuda-10.2/lib64/ -lcudart
INCLUDEPATH += /usr/local/cuda-10.2/include
DEPENDPATH += /usr/local/cuda-10.2/include
#Caffe - Manjaro (built from source)
unix:!macx: LIBS += -L/usr/local/lib -lcaffe
INCLUDEPATH += /usr/local/include
DEPENDPATH += /usr/local/include
#glog, protobuf, boost - Manjaro (as a package)
unix:!macx: LIBS += -L/usr/lib/ -lglog
unix:!macx: LIBS += -L/usr/lib/ -lprotobuf
unix:!macx: LIBS += -L/usr/lib/ -lboost_system
INCLUDEPATH += /usr/include
DEPENDPATH += /usr/include
#OpenCV - Manjaro (as a package)
INCLUDEPATH += /usr/include/opencv4/
}