-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathcppVrepLKAS.pro
102 lines (83 loc) · 2.51 KB
/
cppVrepLKAS.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
93
94
95
96
97
98
99
100
101
102
QT -= core
QT -= gui
TARGET = imacsLKAS
TEMPLATE = app
IMACSROOT = $(PWD)
OPENCV_PATH = /home/sajid/apps/opencv
VREP_PATH = $$IMACSROOT/externalApps/vrep
EIGEN_PATH = $$IMACSROOT/externalApps/eigen
PKG_CONFIG_PATH = /usr/lib/pkgconfig
DEFINES -= UNICODE
CONFIG += console
CONFIG -= app_bundle
DEFINES += NON_MATLAB_PARSING
DEFINES += MAX_EXT_API_CONNECTIONS=255
DEFINES += DO_NOT_USE_SHARED_MEMORY
DEFINES += HALIDE_NO_JPEG
DEFINES += _GLIBCXX_USE_CXX11_ABI=0
*-msvc* {
QMAKE_CXXFLAGS += -W3
}
*-g++* {
QMAKE_CXXFLAGS += -Wall
QMAKE_CXXFLAGS += -Wno-unused-parameter
QMAKE_CXXFLAGS += -Wno-strict-aliasing
QMAKE_CXXFLAGS += -Wno-empty-body
QMAKE_CXXFLAGS += -Wno-write-strings
QMAKE_CXXFLAGS += -g
QMAKE_CXXFLAGS += -Wno-unused-but-set-variable
QMAKE_CXXFLAGS += -Wno-unused-local-typedefs
QMAKE_CXXFLAGS += -Wno-narrowing
QMAKE_CXXFLAGS += -std=c++11
QMAKE_CFLAGS += -Wall
QMAKE_CFLAGS += -Wno-strict-aliasing
QMAKE_CFLAGS += -Wno-unused-parameter
QMAKE_CFLAGS += -Wno-unused-but-set-variable
QMAKE_CFLAGS += -Wno-unused-local-typedefs
}
win32 {
LIBS += -lwinmm
LIBS += -lWs2_32
}
macx {
}
unix:!macx {
LIBS += -lrt
LIBS += -ldl
LIBS += -lm
LIBS += `pkg-config opencv --cflags --libs`
LIBS += -L/usr/lib
LIBS += -L$$PKG_CONFIG_PATH
LIBS += -L$$OPENCV_PATH -ljpeg
LIBS += `libpng-config --cflags --ldflags`
LIBS += -lpthread
OBJECTS_DIR = $$IMACSROOT/obj
}
INCLUDEPATH += "$$VREP_PATH/programming/include"
INCLUDEPATH += "$$VREP_PATH/programming/remoteApi"
INCLUDEPATH += "$$EIGEN_PATH"
INCLUDEPATH += "$$IMACSROOT/src/cpp_vrep_api"
INCLUDEPATH += "$$IMACSROOT/include"
INCLUDEPATH += "$$PKG_CONFIG_PATH"
INCLUDEPATH += "$$IMACSROOT/src/LaneDetection_and_Control"
SOURCES += \
$$IMACSROOT/src/cpp_vrep_api/cpp_vrep_framework.cpp \
$$IMACSROOT/src/cpp_vrep_api/my_vrep_api.cpp \
$$IMACSROOT/src/LaneDetection_and_Control/lane_detection.cpp \
$$IMACSROOT/src/LaneDetection_and_Control/lateralcontrol_multiple.cpp \
$$IMACSROOT/src/cpp_vrep_api/utils.cpp \
$$VREP_PATH/programming/remoteApi/extApi.c \
$$VREP_PATH/programming/remoteApi/extApiPlatform.c \
$$VREP_PATH/programming/common/shared_memory.c
HEADERS +=\
$$VREP_PATH/programming/remoteApi/extApi.h \
$$VREP_PATH/programming/remoteApi/extApiPlatform.h \
$$VREP_PATH/programming/include/shared_memory.h \
unix:!symbian {
maemo5 {
target.path = /opt/usr/lib
} else {
target.path = /usr/lib
}
INSTALLS += target
}