Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add IdlOnlyTypes - even though they are commented out atm #6

Merged
merged 1 commit into from
Jun 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ set(action_files
"action/Fibonacci.action"
)

set(idl_files
# "idl/IdlOnlyTypes.idl"
)

set(interface_install_dir "share/${PROJECT_NAME}")

install(
Expand All @@ -41,6 +45,10 @@ install(
FILES ${action_files}
DESTINATION ${interface_install_dir}/action
)
install(
FILES ${idl_files}
DESTINATION ${interface_install_dir}/idl
)

ament_package(
CONFIG_EXTRAS ${PROJECT_NAME}-extras.cmake.in
Expand Down
8 changes: 8 additions & 0 deletions idl/IdlOnlyTypes.idl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module test_msgs {
module idl {
struct IdlOnlyTypes {
wchar wchar_value;
long double long_double_value;
};
};
};
5 changes: 5 additions & 0 deletions test_interface_files-extras.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,8 @@ foreach(action @action_files@)
list(APPEND @PROJECT_NAME@_ACTION_FILES
"@CMAKE_INSTALL_PREFIX@/@interface_install_dir@:${action}")
endforeach()
set(@PROJECT_NAME@_IDL_FILES "")
foreach(idl @idl_files@)
list(APPEND @PROJECT_NAME@_IDL_FILES
"@CMAKE_INSTALL_PREFIX@/@interface_install_dir@:${idl}")
endforeach()