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

multiple: package.xml files contain obsolete <cpp> tags in <export> section #43

Closed
gavanderhoorn opened this issue Dec 3, 2013 · 4 comments

Comments

@gavanderhoorn
Copy link
Member

ie:

<export>
  <cpp lflags="-Wl,-rpath,${prefix}/lib -L${prefix}/lib" cflags="-I${prefix}/include -DROS=1"/>
</export>

This is no longer supported in catkin. Exporting include and linker paths as well as libraries to link against should be done using the catkin_package(..) statement.

At least simple_message, industrial_robot_client, industrial_utils and industrial_simulator do this.

@shaun-edwards
Copy link
Member

@gavanderhoorn Am I correct that this is not a critical issue. The export is not doing anything useful, nor is it harming things. Is this just more of a "make sure we clean this up"?

@gavanderhoorn
Copy link
Member Author

AFAIK: yes, these tags are really obsolete, and are ignored. I do think that (all) CMakeLists.txt could do with some cleanup before an actual Hydro release though.

@gavanderhoorn
Copy link
Member Author

@shaun-edwards: I also wanted to make sure people understood that these tags are ignored and that they shouldn't be relied upon to actually setup any linker and / or include paths (ie: they should use other catkin infrastructure for that).

@shaun-edwards
Copy link
Member

@gavanderhoorn, I scheduled this issue for Indigo. Please add an additional issue for CMakeLists.txt. If you are detailed enough, I might be able to get it done before the Hydro release (planned in the next month). It might also be faster/easier if you handled the cleanup (if you have time).

shaun-edwards added a commit that referenced this issue Dec 4, 2013
Fix issue #43: remove obsolete export tags from package.xml files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants