Skip to content
Snippets Groups Projects
Commit 33671f54 authored by Francois Keith's avatar Francois Keith
Browse files

Correct the Python_module handling

    - correct the mkdir command to make it cross-platforms
    - remove the '/' in the module name (forbidden in win32 systems)
parent 7390cd73
No related branches found
No related tags found
1 merge request!1[major][cpp] starting point to integrate pinocchio
......@@ -54,12 +54,10 @@ FOREACH(lib ${libs})
# build python submodule
STRING(REPLACE - _ PYTHON_LIBRARY_NAME ${lib})
ADD_DEPENDENCIES(${lib} MKDIR_${PYTHON_LIBRARY_NAME})
ADD_CUSTOM_TARGET(MKDIR_${PYTHON_LIBRARY_NAME}
mkdir -p dynamic_graph/sot/dynamics/${PYTHON_LIBRARY_NAME}
)
FILE(MAKE_DIRECTORY dynamic_graph/sot/dynamics/${PYTHON_LIBRARY_NAME})
DYNAMIC_GRAPH_PYTHON_MODULE("sot/dynamics/${PYTHON_LIBRARY_NAME}"
${lib}
sot/dynamics/${PYTHON_LIBRARY_NAME}/wrap
sot-dynamics-${PYTHON_LIBRARY_NAME}-wrap
)
ENDFOREACH(lib)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment