-
Notifications
You must be signed in to change notification settings - Fork 278
/
CMakeLists.txt
28 lines (20 loc) · 674 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
cmake_minimum_required(VERSION 3.0.2)
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()
install(FILES LICENSE
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)
# install cmake files for catkin (except some files only used at build time of catkin)
install(DIRECTORY cmake
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
USE_SOURCE_PERMISSIONS
PATTERN "catkinConfig.cmake.in" EXCLUDE)
catkin_python_setup()
if(CATKIN_ENABLE_TESTING)
catkin_add_nosetests(test/local_tests)
catkin_add_nosetests(test/unit_tests)
endif()