Project

General

Profile

Revision dd5d7f53

IDdd5d7f53f35da669816c1c93b173eed3bfa0e962
Parent 3f5aa522
Child 071e2c1c

Added by tahm about 10 years ago

Converted back to msgs, before pushing to roboclub VCS

View differences:

turtlesim_ref/CMakeLists.txt
13 13

  
14 14
add_message_files(DIRECTORY msg FILES 
15 15
                  Color.msg Pose.msg Velocity.msg)
16

  
16 17
add_service_files(DIRECTORY srv FILES
17 18
                  Kill.srv
18 19
                  SetPen.srv
......
46 47
#  it obviously isn't
47 48
add_executable(turtle_teleop_key tutorials/teleop_turtle_key.cpp)
48 49
target_link_libraries(turtle_teleop_key ${catkin_LIBRARIES})
49
add_dependencies(turtle_teleop_key turtlesim_gencpp)
50
add_dependencies(turtle_teleop_key turtlesim_ref_gencpp)
50 51

  
51 52

  
52 53
# Build draw_square. so many words
53 54
add_executable(draw_square tutorials/draw_square.cpp)
54 55
target_link_libraries(draw_square ${catkin_LIBRARIES} ${Boost_LIBRARIES})
55
add_dependencies(draw_square turtlesim_gencpp)
56
add_dependencies(draw_square turtlesim_ref_gencpp)
56 57

  
57 58
# but these words I know, it spawns a turtle that does follow the leader
58 59
add_executable(mimic tutorials/mimic.cpp)
59 60
target_link_libraries(mimic ${catkin_LIBRARIES})
60
add_dependencies(mimic turtlesim_gencpp)
61
add_dependencies(mimic turtlesim_ref_gencpp)
61 62

  
62 63
install(TARGETS turtlesim_node turtle_teleop_key draw_square mimic
63 64
  RUNTIME DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})

Also available in: Unified diff