forked from maksym-taranukhin/slam
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
61 lines (42 loc) · 2.27 KB
/
CMakeLists.txt
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
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
project(NewOfNewSlam CXX C)
set(sources coreslam.cpp
FeaturesDetector/featuredetectorsurf.h
FeaturesDetector/ifeaturedetector.h
FeaturesDetector/private/featuredetectorsurf.cpp
FeaturesDetector/private/ifeaturedetector.cpp
FeaturesMatcher/featurematcherflann.h
FeaturesMatcher/ifeaturematching.h
FeaturesMatcher/private/featurematcherflann.cpp
FeaturesMatcher/private/ifeaturematching.cpp
MatchesFilter/imatchesfilter.h
MatchesFilter/matchesfiltercvteam.h
MatchesFilter/private/imatchesfilter.cpp
MatchesFilter/private/matchesfiltercvteam.cpp
TransformationCalculator/irtfinder.h
TransformationCalculator/rtfindertrilateration.h
TransformationCalculator/private/irtfinder.cpp
TransformationCalculator/private/rtfindertrilateration.cpp
BundleAdjustment/iboundleadjustment.h
BundleAdjustment/opencvboundleadjustment.h
BundleAdjustment/private/iboundleadjustment.cpp
BundleAdjustment/private/opencvboundleadjustment.cpp
AdditionFunctions/private/staticfunctions.cpp
AdditionFunctions/staticfunctions.h
triples.h
matchpoints.h
debugger_interface.cpp
)
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
set(CMAKE_INCLUDE_CURRENT_DIR ON)
add_library(NewOfNewSlam SHARED ${sources} ${QT_LIBRARIES})
if (DEFINED GLOBAL_LIBS)
set(GLOBAL_LIBS ${GLOBAL_LIBS} NewOfNewSlam; PARENT_SCOPE)
endif()
if (DEFINED ALGO_INCLUDES)
set(ALGO_INCLUDES "${ALGO_INCLUDES}#include <debugger_interface.hpp>\n" PARENT_SCOPE)
endif ()
if (DEFINED ALGO_CODE)
set(ALGO_CODE "${ALGO_CODE}algo_list.push_back (new SlamInterface(config));\n"
PARENT_SCOPE)
endif()