google / autocxx

Tool for safe ergonomic Rust/C++ interop driven from existing C++ headers
https://docs.rs/autocxx
Apache License 2.0
2.23k stars 144 forks source link

Limit binding generation to certain headers #975

Open adetaylor opened 2 years ago

adetaylor commented 2 years ago

After #974, we should be apply to apply a filename filter to the items generated e.g. just generate items in "foo/bar".

We should also be able to specify a Rust package root to learn about types relating to other packages.

This will enable multiple include_cpp! macros to work together.

adetaylor commented 2 years ago

(maybe the second part of this is related to #967)