This repository was archived by the owner on Jun 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSolARModuleFusion.pro
More file actions
78 lines (59 loc) · 1.98 KB
/
SolARModuleFusion.pro
File metadata and controls
78 lines (59 loc) · 1.98 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
## remove Qt dependencies
QT -= core gui
CONFIG -= qt
## global defintions : target lib name, version
TARGET = SolARModuleFusion
INSTALLSUBDIR = bcomBuild
FRAMEWORK = $$TARGET
VERSION=0.4.0
DEFINES += MYVERSION=$${VERSION}
DEFINES += TEMPLATE_LIBRARY
CONFIG += Cpp11
CONFIG += c++11
CONFIG(debug,debug|release) {
DEFINES += _DEBUG=1
DEFINES += DEBUG=1
}
CONFIG(release,debug|release) {
DEFINES += _NDEBUG=1
DEFINES += NDEBUG=1
}
PROJECTDEPLOYDIR = $$(BCOMDEVROOT)/$${INSTALLSUBDIR}/$${FRAMEWORK}/$${VERSION}
DEPENDENCIESCONFIG = shared
include ($$(BCOMDEVROOT)/builddefs/qmake/templatelibconfig.pri)
## DEFINES FOR MSVC/INTEL C++ compilers
msvc {
DEFINES += "_BCOM_SHARED=__declspec(dllexport)"
}
INCLUDEPATH += interfaces/
HEADERS += interfaces/SolARFusionAPI.h \
interfaces/SolARModuleFusion_traits.h \
interfaces/SolARVisualInertialEKF.h \
interfaces/kalmanModels/RambachModel/SystemModel.hpp \
interfaces/kalmanModels/RambachModel/VisionMeasurementModel.hpp
SOURCES += src/SolARModuleFusion.cpp \
src/SolARVisualInertialEKF.cpp
unix {
}
macx {
DEFINES += _MACOS_TARGET_
QMAKE_MAC_SDK= macosx
QMAKE_CFLAGS += -mmacosx-version-min=10.7 -std=c11 #-x objective-c++
QMAKE_CXXFLAGS += -mmacosx-version-min=10.7 -std=c11 -std=c++11 -O3 -fPIC#-x objective-c++
QMAKE_LFLAGS += -mmacosx-version-min=10.7 -v -lstdc++
LIBS += -lstdc++ -lc -lpthread
}
win32 {
DEFINES += WIN64 UNICODE _UNICODE
QMAKE_COMPILER_DEFINES += _WIN64
QMAKE_CXXFLAGS += -wd4250 -wd4251 -wd4244 -wd4275
}
header_files.path = $${PROJECTDEPLOYDIR}/interfaces
header_files.files = $$files($${PWD}/interfaces/*.h*)
header_files_rambach.path = $${PROJECTDEPLOYDIR}/interfaces/kalmanModels/RambachModel/
header_files_rambach.files = $$files($${PWD}/interfaces/kalmanModels/RambachModel/*.h*)
xpcf_xml_files.path = $${PROJECTDEPLOYDIR}
xpcf_xml_files.files=$$files($${PWD}/xpcf*.xml)
INSTALLS += header_files
INSTALLS += header_files_rambach
INSTALLS += xpcf_xml_files