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
Gepetto
example-robot-data
Commits
546d192b
Commit
546d192b
authored
Nov 25, 2019
by
Guilhem Saurel
Browse files
add path.hpp.in
to ease data finding in C++ ref
https://github.com/stack-of-tasks/pinocchio/issues/965
parent
b2bab07e
Changes
3
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
546d192b
...
...
@@ -41,6 +41,7 @@ IF(BUILD_PYTHON_INTERFACE)
ENDIF
(
BUILD_PYTHON_INTERFACE
)
IF
(
NOT INSTALL_PYTHON_INTERFACE_ONLY
)
ADD_SUBDIRECTORY
(
include/
${
CUSTOM_HEADER_DIR
}
)
INSTALL
(
DIRECTORY robots/anymal_b_simple_description DESTINATION share/
${
PROJECT_NAME
}
/robots
)
INSTALL
(
DIRECTORY robots/hyq_description DESTINATION share/
${
PROJECT_NAME
}
/robots
)
INSTALL
(
DIRECTORY robots/solo_description DESTINATION share/
${
PROJECT_NAME
}
/robots
)
...
...
include/example-robot-data/CMakeLists.txt
0 → 100644
View file @
546d192b
CONFIGURE_FILE
(
path.hpp.in path.hpp
)
INSTALL
(
FILES
${
CMAKE_CURRENT_BINARY_DIR
}
/path.hpp DESTINATION include/
${
CUSTOM_HEADER_DIR
}
)
include/example-robot-data/path.hpp.in
0 → 100644
View file @
546d192b
#ifndef EXAMPLE_ROBOT_DATA_PATH_HPP
#define EXAMPLE_ROBOT_DATA_PATH_HPP
#define EXAMPLE_ROBOT_DATA_MODEL_DIR "${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME}/robots"
#endif
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