Commit 73e1e555 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[CMake] export

parent 5d4eb6d6
# Copyright (c) 2017 CNRS # Copyright (c) 2017, 2020 CNRS
# Author: Florent Lamiraux # Author: Florent Lamiraux, Guilhem Saurel
# #
# this file is free software: you can redistribute it # this file is free software: you can redistribute it
# and/or modify it under the terms of the GNU Lesser General Public # and/or modify it under the terms of the GNU Lesser General Public
...@@ -14,11 +14,13 @@ ...@@ -14,11 +14,13 @@
# this file. If not, see # this file. If not, see
# <http://www.gnu.org/licenses/>. # <http://www.gnu.org/licenses/>.
CMAKE_MINIMUM_REQUIRED(VERSION 2.8) CMAKE_MINIMUM_REQUIRED(VERSION 3.1)
SET(PROJECT_NAME hpp_practicals) SET(PROJECT_NAME hpp_practicals)
SET(PROJECT_DESCRIPTION "Practicals for Humanoid Path Planner software.") SET(PROJECT_DESCRIPTION "Practicals for Humanoid Path Planner software.")
SET(PROJECT_USE_CMAKE_EXPORT TRUE)
INCLUDE(cmake/hpp.cmake) INCLUDE(cmake/hpp.cmake)
INCLUDE(cmake/python.cmake) INCLUDE(cmake/python.cmake)
...@@ -96,3 +98,6 @@ INSTALL(FILES ...@@ -96,3 +98,6 @@ INSTALL(FILES
${PROJECT_SOURCE_DIR}/src/hpp/corbaserver/practicals/manipulation/ur5/__init__.py ${PROJECT_SOURCE_DIR}/src/hpp/corbaserver/practicals/manipulation/ur5/__init__.py
DESTINATION ${PYTHON_SITELIB}/hpp/corbaserver/practicals/manipulation/ur5 DESTINATION ${PYTHON_SITELIB}/hpp/corbaserver/practicals/manipulation/ur5
) )
ADD_LIBRARY(${PROJECT_NAME} INTERFACE)
INSTALL(TARGETS ${PROJECT_NAME} EXPORT ${TARGETS_EXPORT_NAME} DESTINATION lib)
Subproject commit 7eca9ee6c9d1c4ee20eb82272e94f9d11642053a Subproject commit 7ab756beff8729739c45731dfc1edb6f88d2dbc8
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