-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
53 lines (45 loc) · 1011 Bytes
/
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
################################
### Auto-generated CMakeList ###
################################
cmake_minimum_required(VERSION 2.8.3)
project(room_analysis)
include(FindPkgConfig)
pkg_check_modules(CURLPP REQUIRED curlpp)
set( CMAKE_CXX_STANDARD 11 )
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
################
### Packages ###
################
find_package(catkin REQUIRED COMPONENTS
geometry_msgs
roscpp
node_base
ar_track_alvar_msgs
actionlib_msgs
)
add_action_files(
DIRECTORY action
FILES Explore.action
)
generate_messages(
DEPENDENCIES actionlib_msgs geometry_msgs
)
#############
### Build ###
#############
catkin_package(
CATKIN_DEPENDS actionlib_msgs
)
include_directories(
${catkin_INCLUDE_DIRS}
${node_base_INCLUDE_DIRS}
include
)
add_executable(analyzer.impl src/Analyzer.cpp)
add_dependencies(analyzer.impl room_analysis_generate_messages_cpp)
target_link_libraries(analyzer.impl
${catkin_LIBRARIES}
${node_base_LIBRARIES}
${CURLPP_LDFLAGS}
)