-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
CMakeLists.txt
38 lines (29 loc) · 924 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
cmake_minimum_required(VERSION 2.4.6)
project(ros_jetson_stats)
find_package(catkin REQUIRED rospy genmsg std_msgs)
catkin_python_setup()
################################################
## Declare ROS dynamic reconfigure parameters ##
################################################
## Generate services in the 'srv' folder
add_service_files(
FILES
fan.srv
jetson_clocks.srv
nvpmodel.srv
)
## Generate added messages and services
generate_messages(DEPENDENCIES std_msgs)
###################################
## catkin specific configuration ##
###################################
catkin_package()
###########
## Build ##
###########
include_directories()
catkin_install_python(PROGRAMS scripts/jetson_stats.py
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
# Install param and launch folders
install(DIRECTORY launch param
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION})