forked from ros/catkin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
33 lines (24 loc) · 919 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
cmake_minimum_required(VERSION 2.8.3)
set(catkin_EXTRAS_DIR ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
project(catkin)
if(NOT DEFINED CATKIN_TOPLEVEL)
include(${catkin_EXTRAS_DIR}/all.cmake NO_POLICY_SCOPE)
endif()
catkin_package()
# for convenience we provide eigen-config(-version).cmake files
file(COPY cmake/Modules/eigen-config.cmake cmake/Modules/eigen-config-version.cmake
DESTINATION ${CATKIN_DEVEL_PREFIX}/share/eigen/cmake
)
install(FILES cmake/Modules/eigen-config.cmake cmake/Modules/eigen-config-version.cmake
DESTINATION share/eigen/cmake
)
# install catkin scripts
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/bin)
# install cmake files for catkin (except some files only used at build time of catkin)
install(DIRECTORY cmake
DESTINATION share/catkin
USE_SOURCE_PERMISSIONS
PATTERN "catkinConfig.cmake.in" EXCLUDE
PATTERN "Modules" EXCLUDE)
catkin_python_setup()
#catkin_add_nosetests(test)