pub fn build_by_src_file<P, P2>(src_file: P, out_dir: P2) -> Result<()>where
    P: AsRef<Path>,
    P2: AsRef<Path>,