build_cpp

Function build_cpp 

Source
pub fn build_cpp<B, SourcePath, SourcePathIter>(
    build: &mut Build,
    use_cuda_api: B,
    link_python: bool,
    cargo_commands: Option<&mut Vec<String>>,
    sources: SourcePathIter,
) -> Result<()>
where B: Into<Option<bool>>, SourcePath: AsRef<Path>, SourcePathIter: IntoIterator<Item = SourcePath>,
Expand description

Construct the cc::Build to compile C++ source code.