-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCMakeLists.txt
42 lines (27 loc) · 961 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
34
35
36
37
38
39
40
##############################################################################
# CMake
##############################################################################
cmake_minimum_required(VERSION 2.8.3)
project(pyros_schemas)
##############################################################################
# Find Packages
##############################################################################
find_package(catkin REQUIRED COMPONENTS
roslint
std_msgs
)
catkin_python_setup()
# Lint Python modules
file(GLOB_RECURSE ${PROJECT_NAME}_PY_SRCS
RELATIVE ${PROJECT_SOURCE_DIR} pyros_schemas/*.py)
roslint_python(${${PROJECT_NAME}_PY_SRCS})
##############################################################################
# Catkin
##############################################################################
catkin_package()
#########
# Tests
#######
if (CATKIN_ENABLE_TESTING)
catkin_add_nosetests(pyros_schemas/ros/tests)
endif()