File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 2.8.3 )
2
2
project (rviz_visual_tools )
3
3
4
- # Load catkin and all dependencies required for this package
5
4
find_package (catkin REQUIRED COMPONENTS
6
5
cmake_modules
7
6
eigen_conversions
@@ -19,7 +18,6 @@ find_package(catkin REQUIRED COMPONENTS
19
18
find_package (Eigen REQUIRED )
20
19
find_package (Boost REQUIRED thread system )
21
20
22
- # Catkin
23
21
catkin_package (
24
22
LIBRARIES
25
23
${PROJECT_NAME}
@@ -32,13 +30,15 @@ catkin_package(
32
30
INCLUDE_DIRS include
33
31
)
34
32
35
- ## Build
36
-
37
33
include_directories (
38
34
include
39
35
${catkin_INCLUDE_DIRS}
40
36
)
41
37
38
+ ###########
39
+ ## Build ##
40
+ ###########
41
+
42
42
# Visualization Tools Library
43
43
add_library (${PROJECT_NAME}
44
44
src/rviz_visual_tools.cpp
@@ -57,8 +57,10 @@ target_link_libraries(rviz_visual_tools_test
57
57
${catkin_LIBRARIES} ${PROJECT_NAME}
58
58
)
59
59
60
+ ##########
61
+ ## TEST ##
62
+ ##########
60
63
61
- # TESTS -----------------------------------------------------------------
62
64
if (CATKIN_ENABLE_TESTING )
63
65
64
66
add_rostest_gtest (rvt_test launch/rvt_test.launch tests/rvt_test.cpp )
@@ -70,10 +72,12 @@ if(CATKIN_ENABLE_TESTING)
70
72
71
73
endif ()
72
74
73
- ## Test for correct C++ source code ---------------------------------------
75
+ ## Test for correct C++ source code
74
76
roslint_cpp ()
75
77
76
- ## Install ------------------------------------------------------------
78
+ #############
79
+ ## Install ##
80
+ #############
77
81
78
82
# Install libraries
79
83
install (TARGETS ${PROJECT_NAME}
You can’t perform that action at this time.
0 commit comments