Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.

support catkin_DEFINITIONS - #842

Closed
mathias-luedtke wants to merge 4 commits into
ros:kinetic-develfrom
mathias-luedtke:definitions
Closed

mathias-luedtke wants to merge 4 commits into
ros:kinetic-develfrom
mathias-luedtke:definitions

Conversation

@mathias-luedtke

@mathias-luedtke mathias-luedtke commented Jan 3, 2017 •

Copy link
Copy Markdown
Contributor

Adds support for catkin_DEFINITIONS as discussed in #610
The actual definitions has to be set via cfg-extra for now.

Should I add add_defintions to all find_package(catkin.. occurrences in documentation?


add_executable(myexec ...)
target_link_libraries(${catkin_LIBRARIES})
target_link_libraries(myexec ${catkin_LIBRARIES})

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please create a separate PR for this fix (and the one below) since they can be directly merged.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

together with first commit

@dirk-thomas

Copy link
Copy Markdown
Member

Please see the latest comment on the referenced issue why simply concatenating exported definitions might not work well.

@mathias-luedtke
mathias-luedtke force-pushed the definitions branch 4 times, most recently from 138797d to 6bc0353 Compare January 3, 2017 17:04
@mathias-luedtke

Copy link
Copy Markdown
Contributor Author

closing for now.

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.

2 participants