Commit f2a05107 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[CMake] put all python files at the same place

parent 6f775956
......@@ -81,7 +81,6 @@ IF(NOT INSTALL_PYTHON_INTERFACE_ONLY)
ENDIF(NOT INSTALL_PYTHON_INTERFACE_ONLY)
ADD_SUBDIRECTORY(src)
ADD_SUBDIRECTORY(python)
ADD_SUBDIRECTORY(tests)
PKG_CONFIG_APPEND_LIBS(${PROJECT_NAME})
SET(${PROJECT_NAME}_PYTHON
__init__.py
kine_romeo.py
kine_romeo_small.py
)
IF(BUILD_PYTHON_INTERFACE)
FOREACH(file ${${PROJECT_NAME}_PYTHON})
PYTHON_INSTALL_ON_SITE("dynamic_graph/${PYTHON_DIR}" ${file})
ENDFOREACH(file ${${PROJECT_NAME}_PYTHON})
ENDIF(BUILD_PYTHON_INTERFACE)
......@@ -49,6 +49,8 @@ IF(BUILD_PYTHON_INTERFACE)
__init__.py
humanoid_robot.py
tools.py
kine_romeo.py
kine_romeo_small.py
)
FOREACH(py_file ${${PY_NAME}_PYTHON})
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment