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
Substitute command output inside @[Include(flags: …)] ? #60
Comments
This works since |
Could you please give an example of how to do this? Seems to be impossible. |
@[Include(..., flags: "{{`echo -Dfoo`}}") should work |
No, it does not: running @[Include(
"llvm-c/Core.h",
"llvm-c/BitReader.h",
flags: "{{`llvm-config-7 --cflags`}}",
prefix: %w(LLVM_ LLVM)
)]
lib LibLLVM_C
end results in
|
yeah, seems like this doesn't work :( |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The LLVM example substitutes a command output inside
@[Link(ldflags: …)]
, but not inside@[Include(flags: …)]
. Is there a way to do the latter? If not, it would be nice to have it.The text was updated successfully, but these errors were encountered: