pub fn includes<P>(&mut self, dirs: P) -> &mut Build
    where
        P: IntoIterator,
        P::Item: AsRef<Path>,
    {
        for dir in dirs {
            self.include(dir);
        }
        self
    }
/// Add multiple directories to the `-I` include path.
///
/// # Example
///
/// ```no_run
/// # use std::path::Path;
/// # let condition = true;
/// #
/// let mut extra_dir = None;
/// if condition {
///     extra_dir = Some(Path::new("/path/to"));
/// }
///
/// cc::Build::new()
///     .file("src/foo.c")
///     .includes(extra_dir)
///     .compile("foo");
/// ```
Add multiple directories to the `-I` include path.
Add multiple directories to the ` - I ` include path .
pub fn includes<P>(&mut self, dirs: P) -> &mut Build
    where
        P: IntoIterator,
        P::Item: AsRef<Path>,
    {
        for dir in dirs {
            self.include(dir);
        }
        self
    }
pub fn includes < P > ( & mut self , dirs : P ) -> & mut Build where P : IntoIterator , P :: Item : AsRef < Path > , { for dir in dirs { self . include ( dir ) ; } self }
Add multiple directories to the `-I` include path.
Add multiple directories to the ` - I ` include path .
&mut self
dirs
P
example
None
use std::path::path;
None
let condition = true;
let mut extra_dir = None;
if condition {
extra_dir = Some(Path::new("/path/to"));
}


let mut extra_dir = None ; if condition { extra_dir = Some ( Path :: new ( " / path / to " )) ; }