Browse Source

Merge pull request #205 from opilar/feature/config-files

Config::files method
cmd
Alex Crichton 8 years ago
committed by GitHub
parent
commit
a1ad8ab774
  1. 10
      src/lib.rs

10
src/lib.rs

@ -309,6 +309,16 @@ impl Config {
self self
} }
/// Add files which will be compiled
pub fn files<P>(&mut self, p: P) -> &mut Config
where P: IntoIterator,
P::Item: AsRef<Path> {
for file in p.into_iter() {
self.file(file);
}
self
}
/// Set C++ support. /// Set C++ support.
/// ///
/// The other `cpp_*` options will only become active if this is set to /// The other `cpp_*` options will only become active if this is set to

Loading…
Cancel
Save