place generated files in OUT_DIR

This commit is contained in:
Mattis Marjak
2016-05-11 16:52:15 +03:00
parent a5cb97d3cf
commit 85a4b97b70
2 changed files with 28 additions and 14 deletions

View File

@ -36,7 +36,9 @@ use std::ptr;
use libc::{c_uint, c_double, c_void};
use filters::FilterType;
mod bindings;
mod bindings {
include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
}
/// MagickWand is a Rustic wrapper to the Rust bindings to ImageMagick.
///