Skip to content

Commit 99ac3ff

Browse files
committed
get the test as a proper rostest and clean CMake
that fixes #7
1 parent 3d5b865 commit 99ac3ff

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

CMakeLists.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ find_package(catkin REQUIRED COMPONENTS
1414
find_package(Boost REQUIRED COMPONENTS system signals)
1515
include_directories(include ${catkin_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS})
1616

17-
message("catkin_libs:::::::::::::::::::::::::::::::::::::::::::")
18-
message(${catkin_LIBRARIES})
19-
2017
##############################################################################
2118
# Build service definitions
2219
##############################################################################
@@ -77,7 +74,7 @@ if(CATKIN_ENABLE_TESTING)
7774
target_link_libraries(dummy_scan_producer ${catkin_LIBRARIES} ${Boost_LIBRARIES})
7875
add_dependencies(dummy_scan_producer ${PROJECT_NAME}_gencpp)
7976

80-
catkin_add_gtest(test_assembler EXCLUDE_FROM_ALL test/test_assembler.cpp)
77+
add_executable(test_assembler EXCLUDE_FROM_ALL test/test_assembler.cpp)
8178
target_link_libraries(test_assembler ${catkin_LIBRARIES} ${Boost_LIBRARIES})
8279
add_dependencies(test_assembler ${PROJECT_NAME}_gencpp)
8380

0 commit comments

Comments
 (0)