[Jderobot-admin] jderobot-r994 - in trunk/src/stable/components/gazeboserver: . pluginsGazebo pluginsGazebo/kinect

bmenendez en jderobot.org bmenendez en jderobot.org
Vie Oct 4 11:03:23 CEST 2013


Author: bmenendez
Date: 2013-10-04 11:02:23 +0200 (Fri, 04 Oct 2013)
New Revision: 994

Added:
   trunk/src/stable/components/gazeboserver/pluginsGazebo/CMakeLists.txt
Modified:
   trunk/src/stable/components/gazeboserver/CMakeLists.txt
   trunk/src/stable/components/gazeboserver/pluginsGazebo/kinect/CMakeLists.txt
Log:
#29 Added cmakes for gazebo plugins.


Modified: trunk/src/stable/components/gazeboserver/CMakeLists.txt
===================================================================
--- trunk/src/stable/components/gazeboserver/CMakeLists.txt	2013-10-03 09:18:20 UTC (rev 993)
+++ trunk/src/stable/components/gazeboserver/CMakeLists.txt	2013-10-04 09:02:23 UTC (rev 994)
@@ -51,4 +51,6 @@
     ${LIBS_DIR}/colorspaces/libcolorspacesmm.so
     ${INTERFACES_CPP_DIR}/jderobot/libJderobotInterfaces.so)
 
+add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR}/pluginsGazebo ${CMAKE_CURRENT_SOURCE_DIR}/pluginsGazebo)
+
 ENDIF()

Added: trunk/src/stable/components/gazeboserver/pluginsGazebo/CMakeLists.txt
===================================================================
--- trunk/src/stable/components/gazeboserver/pluginsGazebo/CMakeLists.txt	                        (rev 0)
+++ trunk/src/stable/components/gazeboserver/pluginsGazebo/CMakeLists.txt	2013-10-04 09:02:23 UTC (rev 994)
@@ -0,0 +1,13 @@
+list_subdirectories( LIST_PLUGINS ${CMAKE_CURRENT_SOURCE_DIR} 1)
+
+IF(NOT DEFINED build-default)
+	SET(build-default ON)
+ENDIF(NOT DEFINED build-default)
+
+FOREACH (plugin ${LIST_PLUGINS})
+	SET(build_${plugin} ${build-default} CACHE BOOL "Build plugin ${plugin}")
+	IF(build_${plugin})
+		MESSAGE(STATUS "Processing plugin ${plugin}")
+	        ADD_SUBDIRECTORY (${plugin})
+	ENDIF(build_${plugin})
+ENDFOREACH()

Modified: trunk/src/stable/components/gazeboserver/pluginsGazebo/kinect/CMakeLists.txt
===================================================================
--- trunk/src/stable/components/gazeboserver/pluginsGazebo/kinect/CMakeLists.txt	2013-10-03 09:18:20 UTC (rev 993)
+++ trunk/src/stable/components/gazeboserver/pluginsGazebo/kinect/CMakeLists.txt	2013-10-04 09:02:23 UTC (rev 994)
@@ -3,6 +3,7 @@
     ${INTERFACES_CPP_DIR}
     ${LIBS_DIR}
 	${GEARBOX_INCLUDE_DIRS}
+	/usr/include/vtk-5.8
     ${CMAKE_CURRENT_SOURCE_DIR}
 	) 
 



More information about the Jderobot-admin mailing list