[][src]Crate autocxx_build



Structure for use in a build.rs file to aid with conversion of a include_cxx! macro into a cc::Build. This structure owns a temporary directory containing the generated C++ code, as well as owning the cc::Build which knows how to build it. Typically you'd use this from a build.rs file by using new and then using builder to fetch the cc::Build object and asking the resultant cc::Build to compile the code. You'll also need to set the AUTOCXX_INC environment variable to specify the path for finding header files.



Errors returned during creation of a cc::Build from an include_cxx macro.