pub fn new<P: AsRef<Path>>(path: P) -> Config {
        Config {
            path: env::current_dir().unwrap().join(path),
            generator: None,
            cflags: OsString::new(),
            cxxflags: OsString::new(),
            asmflags: OsString::new(),
            defines: Vec::new(),
            deps: Vec::new(),
            profile: None,
            out_dir: None,
            target: None,
            host: None,
            build_args: Vec::new(),
            cmake_target: None,
            env: Vec::new(),
            static_crt: None,
            uses_cxx11: false,
            always_configure: true,
            no_build_target: false,
            verbose_cmake: false,
            verbose_make: false,
            pic: None,
            no_c_flags: false,
        }
    }
/// Creates a new blank set of configuration to build the project specified
/// at the path `path`.
Creates a new blank set of configuration to build the project specified
at the path `path`.
Creates a new blank set of configuration to build the project specified at the path ` path ` .
pub fn new<P: AsRef<Path>>(path: P) -> Config {
        Config {
            path: env::current_dir().unwrap().join(path),
            generator: None,
            cflags: OsString::new(),
            cxxflags: OsString::new(),
            asmflags: OsString::new(),
            defines: Vec::new(),
            deps: Vec::new(),
            profile: None,
            out_dir: None,
            target: None,
            host: None,
            build_args: Vec::new(),
            cmake_target: None,
            env: Vec::new(),
            static_crt: None,
            uses_cxx11: false,
            always_configure: true,
            no_build_target: false,
            verbose_cmake: false,
            verbose_make: false,
            pic: None,
            no_c_flags: false,
        }
    }
pub fn new < P : AsRef < Path > > ( path : P ) -> Config { Config { path : env :: current_dir ( ) . unwrap ( ) . join ( path ) , generator : None , cflags : OsString :: new ( ) , cxxflags : OsString :: new ( ) , asmflags : OsString :: new ( ) , defines : Vec :: new ( ) , deps : Vec :: new ( ) , profile : None , out_dir : None , target : None , host : None , build_args : Vec :: new ( ) , cmake_target : None , env : Vec :: new ( ) , static_crt : None , uses_cxx11 : false , always_configure : true , no_build_target : false , verbose_cmake : false , verbose_make : false , pic : None , no_c_flags : false , } }
Creates a new blank set of configuration to build the project specified
at the path `path`.
Creates a new blank set of configuration to build the project specified at the path ` path ` .
path
P
path
P