[rtm-ros-robotics] r6959 committed - for compiling iob directory

1 view
Skip to first unread message

rtm-ros-...@googlecode.com

unread,
Feb 7, 2014, 8:13:50 AM2/7/14
to rtm-ros-rob...@googlegroups.com
Revision: 6959
Author: gara...@gmail.com
Date: Fri Feb 7 13:12:07 2014 UTC
Log: for compiling iob directory
http://code.google.com/p/rtm-ros-robotics/source/detail?r=6959

Modified:
/trunk/rtmros_gazebo/hrpsys_gazebo_general/iob/CMakeLists.txt

=======================================
--- /trunk/rtmros_gazebo/hrpsys_gazebo_general/iob/CMakeLists.txt Tue Nov
19 17:32:31 2013 UTC
+++ /trunk/rtmros_gazebo/hrpsys_gazebo_general/iob/CMakeLists.txt Fri Feb
7 13:12:07 2014 UTC
@@ -8,20 +8,20 @@
COMMAND rospack find hrpsys
OUTPUT_VARIABLE hrpsys_PACKAGE_PATH
OUTPUT_STRIP_TRAILING_WHITESPACE
-)
+ )
+
execute_process(
COMMAND rospack find hrpsys_gazebo_msgs
OUTPUT_VARIABLE hrpsys_gazebo_msgs_PACKAGE_PATH
OUTPUT_STRIP_TRAILING_WHITESPACE
-)
+ )

-include_directories(BEFORE
${hrpsys_PACKAGE_PATH}/include;${hrpsys_gazebo_msgs_PACKAGE_PATH}/msg_gen/cpp/include;${hrpsys_gazebo_msgs_PACKAGE_PATH}/srv_gen/cpp/include)
+include_directories(BEFORE
${CATKIN_INCLUDE_DIRS};${hrpsys_PACKAGE_PATH}/include;${hrpsys_gazebo_msgs_PACKAGE_PATH}/msg_gen/cpp/include;${hrpsys_gazebo_msgs_PACKAGE_PATH}/srv_gen/cpp/include)
link_directories("/opt/ros/${ROS_DISTRO}/lib")
add_library(${target} SHARED iob.cpp)
target_link_libraries(${target} rt roscpp rostime)
target_link_libraries(${target} rt)

-
install(TARGETS ${target}
RUNTIME DESTINATION bin CONFIGURATIONS Release Debug
LIBRARY DESTINATION lib CONFIGURATIONS Release Debug
Reply all
Reply to author
Forward
0 new messages