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

[CMake] Export

parent 244d1795
CMAKE_MINIMUM_REQUIRED(VERSION 2.8) CMAKE_MINIMUM_REQUIRED(VERSION 3.1)
SET(PROJECT_NAME talos-rbprm) SET(PROJECT_NAME talos-rbprm)
SET(PROJECT_DESCRIPTION "Database for talos robot using hpp-rbprm") SET(PROJECT_DESCRIPTION "Database for talos robot using hpp-rbprm")
INCLUDE(cmake/hpp.cmake) SET(CUSTOM_HEADER_DIR "hpp/talos-rbprm")
INCLUDE(cmake/python.cmake) SET(PROJECT_USE_CMAKE_EXPORT TRUE)
SET(CXX_DISABLE_WERROR true) SET(CXX_DISABLE_WERROR true)
SET(CUSTOM_HEADER_DIR "hpp/talos-rbprm") INCLUDE(cmake/hpp.cmake)
INCLUDE(cmake/python.cmake)
COMPUTE_PROJECT_ARGS(PROJECT_ARGS LANGUAGES CXX) COMPUTE_PROJECT_ARGS(PROJECT_ARGS LANGUAGES CXX)
PROJECT(${PROJECT_NAME} ${PROJECT_ARGS}) PROJECT(${PROJECT_NAME} ${PROJECT_ARGS})
FINDPYTHON() FINDPYTHON()
PKG_CONFIG_APPEND_LIBS(${PROJECT_NAME}) ADD_LIBRARY(${PROJECT_NAME} INTERFACE)
INSTALL(TARGETS ${PROJECT_NAME} EXPORT ${TARGETS_EXPORT_NAME} DESTINATION lib)
SET(CATKIN_PACKAGE_SHARE_DESTINATION SET(CATKIN_PACKAGE_SHARE_DESTINATION
${CMAKE_INSTALL_DATAROOTDIR}/${PROJECT_NAME}) ${CMAKE_INSTALL_DATAROOTDIR}/${PROJECT_NAME})
......
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