With the API you can use Builder::clang_arg
with arbitrary arguments:
let b = bindgen::builder().header("foo.h").clang_arg("-I/path");
From the command line you can do the same by appending arguments after --
, like:
bindgen foo.h -- -I/path
With the API you can use Builder::clang_arg
with arbitrary arguments:
let b = bindgen::builder().header("foo.h").clang_arg("-I/path");
From the command line you can do the same by appending arguments after --
, like:
bindgen foo.h -- -I/path