# Copyright (c) 2012 CNRS # Author: Florent Lamiraux # # This file is part of hpp-rbprm-corba. # hpp-rbprm-corba is free software: you can redistribute it # and/or modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation, either version # 3 of the License, or (at your option) any later version. # # hpp-rbprm-corba is distributed in the hope that it will be # useful, but WITHOUT ANY WARRANTY; without even the implied warranty # of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Lesser Public License for more details. You should have # received a copy of the GNU Lesser General Public License along with # hpp-rbprm-corba. If not, see # . # Requires at least CMake 2.6 to configure the package. CMAKE_MINIMUM_REQUIRED(VERSION 2.6) SET(CXX_DISABLE_WERROR true) INCLUDE(cmake/base.cmake) INCLUDE(cmake/idl.cmake) INCLUDE(cmake/python.cmake) SET(PROJECT_NAME hpp-rbprm-corba) SET(PROJECT_DESCRIPTION "Corba server for reachability based planning") SET(PROJECT_URL "") SET(CUSTOM_HEADER_DIR hpp/corbaserver/rbprm) SETUP_PROJECT () SET(${PROJECT_NAME}_HEADERS include/hpp/corbaserver/rbprm/server.hh include/hpp/corbaserver/rbprm/fwd.hh ) # Activate hpp-util logging if requested SET (HPP_DEBUG FALSE CACHE BOOL "trigger hpp-util debug output") IF (HPP_DEBUG) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DHPP_DEBUG") ENDIF() ADD_DOC_DEPENDENCY("hpp-core >= 3") ADD_REQUIRED_DEPENDENCY("hpp-corbaserver >= 3") ADD_REQUIRED_DEPENDENCY("hpp-rbprm") ADD_REQUIRED_DEPENDENCY("omniORB4 >= 4.1.4") PKG_CONFIG_APPEND_LIBS(${PROJECT_NAME}) ADD_SUBDIRECTORY(src) CONFIG_FILES (include/hpp/corbaserver/rbprm/doc.hh) SET(CATKIN_PACKAGE_SHARE_DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/${PROJECT_NAME}) install(FILES data/package.xml DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION} ) install(FILES data/urdf/box_rom.urdf data/urdf/box.urdf data/urdf/scene.urdf DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/urdf ) install(FILES data/srdf/box_rom.srdf data/srdf/box.srdf data/srdf/scene.srdf DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/srdf ) install(FILES data/meshes/car.stl data/meshes/box.stl data/meshes/box_rom.stl DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/meshes ) SETUP_PROJECT_FINALIZE()