[Jderobot-admin] jderobot-r1139 - trunk

rocapal en jderobot.org rocapal en jderobot.org
Vie Ene 10 11:14:34 CET 2014


Author: rocapal
Date: 2014-01-10 11:14:34 +0100 (Fri, 10 Jan 2014)
New Revision: 1139

Modified:
   trunk/CMakeLists.txt
Log:
#21 refactor debian package process


Modified: trunk/CMakeLists.txt
===================================================================
--- trunk/CMakeLists.txt	2014-01-10 10:04:58 UTC (rev 1138)
+++ trunk/CMakeLists.txt	2014-01-10 10:14:34 UTC (rev 1139)
@@ -161,8 +161,24 @@
 FILE(GLOB_RECURSE GLADE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/stable/components/*.glade)
 INSTALL (FILES ${GLADE_FILES} DESTINATION /usr/local/share/jderobot/glade)
 
+# Install Gazebo Models
+INSTALL (DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/src/stable/components/gazeboserver/models DESTINATION /usr/local/share/jderobot/gazebo/ PATTERN .svn EXCLUDE)
 
+# Install Gazebo Plugins
+SET(PLUGINS "kinect" "nao" "pioneer")
 
+FOREACH (PLUGIN ${PLUGINS})
+	FILE(GLOB_RECURSE SO_FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/stable/components/gazeboserver/plugins/${PLUGIN}/*.so)
+	INSTALL (FILES ${SO_FILES} DESTINATION /usr/lib/gazebo-1.8/plugins-jderobot/${PLUGIN}/ )
+	FILE(GLOB_RECURSE CFG_FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/stable/components/gazeboserver/plugins/${PLUGIN}/*.cfg)
+	INSTALL (FILES ${CFG_FILES} DESTINATION /usr/lib/gazebo-1.8/plugins-jderobot/${PLUGIN}/ )
+	FILE(GLOB_RECURSE WORLD_FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/stable/components/gazeboserver/plugins/${PLUGIN}/*.world)
+	INSTALL (FILES ${WORLD_FILES} DESTINATION /usr/lib/gazebo-1.8/plugins-jderobot/${PLUGIN}/ )
+ENDFOREACH(PLUGIN)
+
+
+
+
 ###################
 #                 #
 #    UNINSTALL    #



More information about the Jderobot-admin mailing list