Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Stack Of Tasks
sot-torque-control
Commits
c7b4317e
Commit
c7b4317e
authored
Feb 21, 2018
by
Olivier Stasse
Browse files
[cmake] Generated python files are created in the build directory and not in the src.
parent
8058b912
Pipeline
#1300
failed with stage
in 0 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
c7b4317e
...
...
@@ -165,7 +165,6 @@ INSTALL(FILES python/dynamic_graph/sot/torque_control/utils/__init__.py
DESTINATION
${
PYTHON_SITELIB
}
/dynamic_graph/sot/torque_control/utils
)
INSTALL
(
FILES python/dynamic_graph/sot/torque_control/tests/__init__.py
python/dynamic_graph/sot/torque_control/tests/robot_data_test.py
python/dynamic_graph/sot/torque_control/tests/test_control_manager.py
python/dynamic_graph/sot/torque_control/tests/test_balance_ctrl_openhrp.py
python/dynamic_graph/sot/torque_control/tests/test_velocity_filters.py
...
...
@@ -191,8 +190,12 @@ IF(TALOS_DATA_FOUND)
FOREACH
(
py_filename test_torque_offset_estimator
)
CONFIGURE_FILE
(
${
PROJECT_SOURCE_DIR
}
/python/dynamic_graph/sot/torque_control/tests/
${
py_filename
}
.py.in
${
PROJECT_
SOURCE
_DIR
}
/python/dynamic_graph/sot/torque_control/tests/
${
py_filename
}
.py
${
PROJECT_
BINARY
_DIR
}
/python/dynamic_graph/sot/torque_control/tests/
${
py_filename
}
.py
)
INSTALL
(
FILES
${
PROJECT_BINARY_DIR
}
/python/dynamic_graph/sot/torque_control/tests/
${
py_filename
}
.py
DESTINATION
${
PYTHON_SITELIB
}
/dynamic_graph/sot/torque_control/tests
)
ENDFOREACH
(
py_filename
)
ENDIF
(
TALOS_DATA_FOUND
)
...
...
@@ -200,8 +203,10 @@ IF(SIMPLE_HUMANOID_DESCRIPTION_FOUND)
FOREACH
(
py_filename robot_data_test
)
CONFIGURE_FILE
(
${
PROJECT_SOURCE_DIR
}
/python/dynamic_graph/sot/torque_control/tests/
${
py_filename
}
.py.in
${
PROJECT_
SOURCE
_DIR
}
/python/dynamic_graph/sot/torque_control/tests/
${
py_filename
}
.py
${
PROJECT_
BINARY
_DIR
}
/python/dynamic_graph/sot/torque_control/tests/
${
py_filename
}
.py
)
INSTALL
(
FILES
${
PROJECT_BINARY_DIR
}
/python/dynamic_graph/sot/torque_control/tests/
${
py_filename
}
.py
DESTINATION
${
PYTHON_SITELIB
}
/dynamic_graph/sot/torque_control/tests
)
ENDFOREACH
(
py_filename
)
ENDIF
(
SIMPLE_HUMANOID_DESCRIPTION_FOUND
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment