30 lines
723 B
CMake
30 lines
723 B
CMake
cmake_minimum_required(VERSION 3.0.2)
|
|
project(dogbot_bark)
|
|
|
|
## Find catkin and any catkin packages
|
|
find_package(catkin REQUIRED COMPONENTS
|
|
rospy
|
|
std_msgs
|
|
)
|
|
|
|
## Declare a catkin package
|
|
catkin_package()
|
|
|
|
## Mark executable scripts (Python etc.) for installation
|
|
## This ensures the node can be run from anywhere and not just the source directory
|
|
catkin_install_python(PROGRAMS scripts/bark.py
|
|
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
|
|
)
|
|
|
|
install(DIRECTORY src/
|
|
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/src
|
|
FILES_MATCHING PATTERN "*.wav"
|
|
)
|
|
|
|
## Specify additional locations of header files
|
|
## Your package locations should be listed before other locations
|
|
include_directories(
|
|
${catkin_INCLUDE_DIRS}
|
|
)
|
|
|