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

Merge branch 'devel' into 'devel'

Add path.hpp.in

See merge request !26
parents b2bab07e e3fbf966
Pipeline #6969 passed with stage
in 9 minutes and 21 seconds
......@@ -26,8 +26,8 @@ ENDIF()
SET(CUSTOM_HEADER_DIR ${PROJECT_NAME})
CMAKE_POLICY(SET CMP0048 NEW)
PROJECT(${PROJECT_NAME} VERSION ${PROJECT_VERSION_FULL} LANGUAGES CXX)
COMPUTE_PROJECT_ARGS(PROJECT_ARGS LANGUAGES CXX)
PROJECT(${PROJECT_NAME} ${PROJECT_ARGS})
OPTION (BUILD_PYTHON_INTERFACE "Build the python unit tests and helpers" ON)
OPTION (INSTALL_PYTHON_INTERFACE_ONLY "Install *ONLY* the python interface" OFF)
......@@ -41,18 +41,7 @@ IF(BUILD_PYTHON_INTERFACE)
ENDIF(BUILD_PYTHON_INTERFACE)
IF(NOT INSTALL_PYTHON_INTERFACE_ONLY)
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)
INSTALL(DIRECTORY robots/icub_description DESTINATION share/${PROJECT_NAME}/robots)
INSTALL(DIRECTORY robots/talos_data DESTINATION share/${PROJECT_NAME}/robots)
INSTALL(DIRECTORY robots/kinova_description DESTINATION share/${PROJECT_NAME}/robots)
INSTALL(DIRECTORY robots/tiago_description DESTINATION share/${PROJECT_NAME}/robots)
INSTALL(DIRECTORY robots/ur_description DESTINATION share/${PROJECT_NAME}/robots)
INSTALL(DIRECTORY robots/romeo_description DESTINATION share/${PROJECT_NAME}/robots)
INSTALL(DIRECTORY robots/hector_description DESTINATION share/${PROJECT_NAME}/robots)
INSTALL(DIRECTORY robots/double_pendulum_description DESTINATION share/${PROJECT_NAME}/robots)
ADD_SUBDIRECTORY(include/${CUSTOM_HEADER_DIR})
INSTALL(DIRECTORY robots DESTINATION share/${PROJECT_NAME})
INSTALL(FILES package.xml DESTINATION share/${PROJECT_NAME})
ENDIF(NOT INSTALL_PYTHON_INTERFACE_ONLY)
# Install catkin package.xml
INSTALL(FILES package.xml DESTINATION share/${PROJECT_NAME})
Subproject commit e6e09c0b944530c92c17c4fb64cd2a2f63ed46c0
Subproject commit 7eca9ee6c9d1c4ee20eb82272e94f9d11642053a
# This file prevents CMake warnings, e.g., with catkin-based workflows.
\ No newline at end of file
CONFIGURE_FILE(path.hpp.in path.hpp)
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/path.hpp DESTINATION include/${CUSTOM_HEADER_DIR})
#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
Markdown is supported
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