2012-01-02 09:51:51 +08:00
|
|
|
cmake_minimum_required(VERSION 2.8)
|
|
|
|
project(ros)
|
|
|
|
find_package(catkin)
|
|
|
|
find_package(Boost COMPONENTS thread)
|
2009-11-12 08:15:01 +08:00
|
|
|
|
2012-01-02 09:51:51 +08:00
|
|
|
foreach(subdir
|
|
|
|
core/roslib
|
|
|
|
tools/rosbash
|
2012-01-03 05:46:26 +08:00
|
|
|
tools/rosunit
|
2012-01-02 09:51:51 +08:00
|
|
|
tools/rosclean
|
2012-01-03 05:46:26 +08:00
|
|
|
test/test_roscreate
|
2012-01-02 09:51:51 +08:00
|
|
|
)
|
|
|
|
add_subdirectory(${subdir})
|
|
|
|
endforeach()
|
2009-11-12 08:15:01 +08:00
|
|
|
|
2012-01-02 09:51:51 +08:00
|
|
|
catkin_package(ros)
|
|
|
|
|
|
|
|
install(PROGRAMS
|
|
|
|
bin/rosrun
|
|
|
|
bin/rostopic
|
|
|
|
bin/rxconsole
|
|
|
|
bin/rosbag
|
|
|
|
DESTINATION bin
|
|
|
|
)
|
2009-11-12 08:15:01 +08:00
|
|
|
|