[Jderobot-admin] jderobot-r1186 - trunk

rocapal en jderobot.org rocapal en jderobot.org
Lun Mar 10 16:04:59 CET 2014


Author: rocapal
Date: 2014-03-10 16:04:59 +0100 (Mon, 10 Mar 2014)
New Revision: 1186

Modified:
   trunk/CMakeLists.txt
Log:
#185 install py files 


Modified: trunk/CMakeLists.txt
===================================================================
--- trunk/CMakeLists.txt	2014-03-10 14:53:39 UTC (rev 1185)
+++ trunk/CMakeLists.txt	2014-03-10 15:04:59 UTC (rev 1186)
@@ -119,6 +119,14 @@
 
 INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/stable/interfaces/cpp/jderobot/libJderobotInterfaces.so DESTINATION /usr/local/lib/jderobot)
 
+# Install python files
+FILE(GLOB_RECURSE HEADERS_FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/stable/interfaces/python/jderobot/*py)
+FOREACH(header ${HEADERS_FILES})
+	INSTALL(FILES ${header} DESTINATION /usr/lib/python2.7/jderobot/)
+ENDFOREACH(header)
+
+INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/stable/interfaces/python/jderobot/jderobot/__init__.py DESTINATION /usr/lib/python2.7/jderobot/)
+
 # install all libraries 
 FILE(GLOB LIB_FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/stable/libs/*/*.so*)
 FOREACH (lib ${LIB_FILES})



More information about the Jderobot-admin mailing list