-
Notifications
You must be signed in to change notification settings - Fork 280
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
CFG_EXTRAS doesnt support directories #805
Comments
This leads to package requiring these extra to not find them. In my case :
|
While keeping a relative path would be possible the passed filename can also be absolute and then it would be more difficult to still ensure that multiple files don't collide. Therefore While I understand your use case I am not convinced that this feature is necessary. The benefit is minimal and the effort to implement this robustly for cases like absolute paths is significant. Maybe it is enough to clarify the documentation ( catkin/cmake/catkin_package.cmake Lines 36 to 51 in 1b2e476
|
I agree it might not be a really needed feature, I did my implementation this way because it worked in devel space. So I think what got me there, is the difference between the devel space and the install space... The most important would be to get devel and install space behaving consistently, to avoid surprises. This issue might need more detailed confirmed behavior, I cant recall exactly all details with all changes I did recently... |
devel and install space intentionally behave different. In the case where your extra file is not a template the file is not being copied to the devel space but used from the source space directly. In the install space case the file must be copied though. I have updated the API documentation to mention that all basenames need to be unique: |
using:
and using:
will both finally install the file.cmake in the same location.
The directory should not be removed from the path...
I had the issue with this version : pyros-dev/catkin_pip@78eaaae
The text was updated successfully, but these errors were encountered: