-
Notifications
You must be signed in to change notification settings - Fork 42
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
"Namespaced" public headers files #165
Comments
Hi @SpaceIm ! |
Hey @pariterre Lines 100 to 102 in 7d40969
You set the include directories of the installed target to include/ezc3d .Line 84 in 7d40969
This means that including a subheader using target_include_directories(${PROJECT_NAME} INTERFACE
$<INSTALL_INTERFACE:${${PROJECT_NAME}_INCLUDE_FOLDER}>
$<INSTALL_INTERFACE:include>
) |
Considering that names are quite generic would not you suggest also to remove the first line? |
@pariterre It's easy to fix, but annoying. |
It does the trick to me. |
I am waiting for Travis to complete (actually start.. Don't know why it is so long lately...) and then I merge! |
It is merge, hopefully this works all fine! |
Yes it should work, but it doesn't solve potential clashes with headers from other libraries since |
Indeed |
For posterity, I was about to change that, but it makes this complicated with the global includer. I've decided that unless someone else complaints about that specific issue, I will leave it as so Thanks again! |
public headers names are very common (Point.h, Frame.h, Parameter.h etc).
To properly live in a project with others dependencies, and avoid clashes, I would advice to add an intermediate folder (
ezc3d
for example ;) ), and update build scripts (and some#include
because some of them take absolute path).Obviously, it would be a breaking change in ezc3d interface...
The text was updated successfully, but these errors were encountered: