[Jderobot-admin] jderobot-r1141 - trunk

rocapal en jderobot.org rocapal en jderobot.org
Vie Ene 10 11:53:38 CET 2014


Author: rocapal
Date: 2014-01-10 11:53:37 +0100 (Fri, 10 Jan 2014)
New Revision: 1141

Modified:
   trunk/CMakeLists.txt
Log:
#21 modify install process to gazeboserver


Modified: trunk/CMakeLists.txt
===================================================================
--- trunk/CMakeLists.txt	2014-01-10 10:43:07 UTC (rev 1140)
+++ trunk/CMakeLists.txt	2014-01-10 10:53:37 UTC (rev 1141)
@@ -172,8 +172,9 @@
 	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}/ )
+	INSTALL (DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/src/stable/components/gazeboserver/plugins/${PLUGIN}/worlds/ 
+		 DESTINATION /usr/lib/gazebo-1.8/plugins-jderobot/${PLUGIN}/worlds/
+		 PATTERN .svn EXCLUDE)
 ENDFOREACH(PLUGIN)
 
 



More information about the Jderobot-admin mailing list