Commit 8a5d4694 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[CMake] remove catkin dependency

parent 1ab5898e
......@@ -18,36 +18,34 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
INCLUDE(cmake/base.cmake)
INCLUDE(cmake/python.cmake)
SET(PROJECT_NAME hpp_environments)
SET(PROJECT_NAME hpp-environments)
SET(PROJECT_DESCRIPTION "Environments for the humanoid path planner platform.")
SET(PROJECT_URL "https://github.com/humanoid-path-planner/hpp-environments")
SET(PROJECT_URL "https://github.com/humanoid-path-planner/${PROJECT_NAME}")
STRING(REPLACE "-" "_" ROS_PROJECT_NAME ${PROJECT_NAME})
SETUP_PROJECT()
FINDPYTHON(2.7 EXACT REQUIRED)
FIND_PACKAGE(catkin REQUIRED)
catkin_package()
SET(TEXTURE_FILES
texture/logo_romeo.jpg
)
INSTALL(DIRECTORY urdf
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
DESTINATION "share/${ROS_PROJECT_NAME}")
INSTALL(DIRECTORY srdf
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
DESTINATION "share/${ROS_PROJECT_NAME}")
INSTALL(DIRECTORY meshes
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
DESTINATION "share/${ROS_PROJECT_NAME}")
INSTALL(FILES ${TEXTURE_FILES}
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/texture
DESTINATION "share//${ROS_PROJECT_NAME}/texture"
)
INSTALL(FILES package.xml
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})
DESTINATION "share/${ROS_PROJECT_NAME}")
ADD_SUBDIRECTORY(src)
......
<package>
<name>hpp_environments</name>
<version>0.0.0</version>
<version>4.2.0</version>
<description>
environments for HPP.
</description>
<author>Joseph Mirabel</author>
<maintainer email="hpp@laas.fr">Joseph Mirabel</maintainer>
<license>LGPL v2</license>
<buildtool_depend>catkin</buildtool_depend>
</package>
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