Skip to content

Commit

Permalink
Update CMakeLists.txt for elevator_system_msg
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunseok-yang committed Sep 24, 2020
1 parent da16c48 commit f407c36
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions elevator_system_msgs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,16 @@ cmake_minimum_required(VERSION 3.5)
project(elevator_system_msgs)

find_package(ament_cmake REQUIRED)
find_package(std_msgs REQUIRED)
find_package(builtin_interfaces REQUIRED)
find_package(rosidl_default_generators REQUIRED)
find_package(std_msgs REQUIRED)

set(msg_files
msg/ElevatorStatus.msg
)

set(srv_files
srv/ReturnBool.srv
srv/StringValue.srv
srv/CallElevator.srv
srv/GetElevatorInformation.srv
srv/RequestDoor.srv
srv/SelectElevatorFloor.srv
)
file(GLOB_RECURSE msg_files RELATIVE ${PROJECT_SOURCE_DIR} msg/*.msg)
file(GLOB_RECURSE srv_files RELATIVE ${PROJECT_SOURCE_DIR} srv/*.srv)

rosidl_generate_interfaces(${PROJECT_NAME}
${srv_files}
${msg_files}
${srv_files}
DEPENDENCIES builtin_interfaces std_msgs
ADD_LINTER_TESTS
)
Expand Down

0 comments on commit f407c36

Please sign in to comment.