Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

require CMake 3.5 #146

Merged
merged 3 commits into from Jun 16, 2016
Merged

require CMake 3.5 #146

merged 3 commits into from Jun 16, 2016

Conversation

dirk-thomas
Copy link
Member

@dirk-thomas dirk-thomas commented Jun 15, 2016

@dirk-thomas dirk-thomas added the in progress Actively being worked on (Kanban column) label Jun 15, 2016
@dirk-thomas dirk-thomas self-assigned this Jun 15, 2016
@dirk-thomas
Copy link
Member Author

The removed dependency was invalid since the specified target doesn't exist. In CMake 3.5 that fails where as before it only resulted in a warning. The library target doesn't need a dependency on anything related to idl files anyway. The library target already depend on the source files and the generator for the source files depends on all idl files to be present.

@wjwwood
Copy link
Member

wjwwood commented Jun 15, 2016

I don't think removing it (c11110e) is the right fix since it also exists in the cpp version of the file (https://github.com/ros2/rmw_opensplice/blob/master/rosidl_typesupport_opensplice_cpp/cmake/rosidl_typesupport_opensplice_cpp_generate_interfaces.cmake#L21), but if you think it isn't necessary then you should remove the cpp instance too.

@wjwwood
Copy link
Member

wjwwood commented Jun 15, 2016

Ah, I see what you mean about the dependency being implicit. I still think the cpp equivalent snippet should be removed for consistency.

@dirk-thomas
Copy link
Member Author

Can you please point to the exact lines which should be removed from the cpp instance.

@dirk-thomas
Copy link
Member Author

That line does the opposite. It add a dependency to the idl target. That is not the same and can't be removed.

@wjwwood
Copy link
Member

wjwwood commented Jun 15, 2016

I see now, ok nevermind then I was wrong. lgtm

@dirk-thomas dirk-thomas merged commit 8753cf7 into master Jun 16, 2016
@dirk-thomas dirk-thomas removed the in progress Actively being worked on (Kanban column) label Jun 16, 2016
@dirk-thomas dirk-thomas deleted the cmake35 branch June 16, 2016 19:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants