pub fn build_cpp_ext<B, SourcePath, IncludePath, LinkPath, Library, SourcePathIter, IncludePathIter, LinkPathIter, LibraryIter>(
build: &mut Build,
use_cuda_api: B,
link_python: bool,
cargo_commands: Option<&mut Vec<String>>,
sources: SourcePathIter,
include_paths: IncludePathIter,
link_paths: LinkPathIter,
libraries: LibraryIter,
) -> Result<()>where
B: Into<Option<bool>>,
SourcePath: AsRef<Path>,
IncludePath: AsRef<Path>,
LinkPath: AsRef<Path>,
Library: AsRef<str>,
SourcePathIter: IntoIterator<Item = SourcePath>,
IncludePathIter: IntoIterator<Item = IncludePath>,
LinkPathIter: IntoIterator<Item = LinkPath>,
LibraryIter: IntoIterator<Item = Library>,
Expand description
Construct the cc::Build to compile C++ source code with additional options.