-
Notifications
You must be signed in to change notification settings - Fork 39
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
Package with only include_dirs doesn't work #161
Comments
I think you may be looking for the |
Thanks for the hint, but unfortunately doesn't make a difference. Using this Bender file:
Then running 'bender script flist' it returns an empty string. |
You may want to try the |
Investigating another issue, I found a problem when defining a bender dependency with no source files. I adjusted bender's script export in #167 to keep sourcegroups with no sourcefiles, resulting in a proper export of include directories when no source files are found. I don't know, however, if this is reasonable behavior, as include directories should only be necessary when compiling a source file, and blanket include directories can cause issues for some projects (which is why we can differentiate include directories for individual sourcegroups, although the flist format won't expose this). |
I have a package that just contains include files (global files that define parts of a larger project). If I attempt to create a Bender file for this, for example:
This doesn't generate any +incdir+ command-line options.
If I add a single dummy file to this, then it adds the required +incdir+ command-line options as well as the dummy file:
The text was updated successfully, but these errors were encountered: