Function ucc::import_csrc
source · pub fn import_csrc() -> PathBuf
Expand description
This imports the csrc
directory of all direct dependency
crates that were exported using export_csrc
,
save their files in a temp dir inside OUT_DIR
, and return
the path of that dir.
If that dir is used as include search path, you can then
use #include <crates/{crate name}/xxx.hpp>
to include
the csrc/xxx.hpp
file in the dependency.