From b1361cc1f81760cdd3b8b2f214e6b65d5e37e085 Mon Sep 17 00:00:00 2001
From: Francois Keith <keith@lirmm.fr>
Date: Sun, 2 Jun 2013 21:09:09 +0200
Subject: [PATCH] Install the tutorial python scripts.

---
 CMakeLists.txt        | 1 +
 python/CMakeLists.txt | 8 ++++++++
 2 files changed, 9 insertions(+)
 create mode 100644 python/CMakeLists.txt

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2c27d35..31759a5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -134,6 +134,7 @@ endforeach(lib)
 
 # Add subdirectories.
 ADD_SUBDIRECTORY(src)
+ADD_SUBDIRECTORY(python)
 ADD_SUBDIRECTORY(unitTesting)
 
 # Configure some of the python files
diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt
new file mode 100644
index 0000000..91d2470
--- /dev/null
+++ b/python/CMakeLists.txt
@@ -0,0 +1,8 @@
+INCLUDE(../cmake/python.cmake)
+FINDPYTHON()
+
+INSTALL(
+  FILES ros/sot-concept.py ros/ros-walkromeo.py ros/ros-kineromeo.py
+  DESTINATION ${PYTHON_SITELIB}/dynamic_graph/tutorial
+)
+
-- 
GitLab