Commit 1cdac34a authored by Alexander David Hellwig's avatar Alexander David Hellwig
Browse files

Restrict ros msg gen to C++

parent 7a95c603
Pipeline #118132 passed with stages
in 3 minutes and 44 seconds
......@@ -7,6 +7,7 @@ find_package(genmsg REQUIRED)
add_message_files(FILES ${fileOnly})
</#list>
<#noparse>
set(CATKIN_MESSAGE_GENERATORS gencpp)
generate_messages()
set(struct_msgs_INCLUDE_DIRS ${struct_msgs_INCLUDE_DIRS} PARENT_SCOPE)
</#noparse>
\ No newline at end of file
cmake_minimum_required(VERSION 3.5)
project(multinested)
find_package(genmsg REQUIRED)
FILE(GLOB MSG_FILES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.msg)
add_message_files(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} FILES ${MSG_FILES})
generate_messages()
\ No newline at end of file
......@@ -4,5 +4,6 @@ project(struct_msgs)
find_package(genmsg REQUIRED)
add_message_files(FILES structs_BasicStruct.msg)
set(CATKIN_MESSAGE_GENERATORS gencpp)
generate_messages()
set(struct_msgs_INCLUDE_DIRS ${struct_msgs_INCLUDE_DIRS} PARENT_SCOPE)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment