You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Pierre Krieger b4cde7697f Add passing include directories when compiling 10 years ago
src Add passing include directories when compiling 10 years ago
.gitignore Initial commit 10 years ago
Cargo.toml Initial commit 10 years ago
LICENSE-APACHE Add a README/licenses 10 years ago
LICENSE-MIT Add a README/licenses 10 years ago
README.md Add a README/licenses 10 years ago

README.md

gcc-rs

A simple library meant to be used as a build dependency with Cargo packages in order to build a set of C files into a static archive.

extern crate gcc;

fn main() {
    gcc::compile_library("libfoo.a", &["foo.c", "bar.c"]);
}

License

gcc-rs is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), with portions covered by various BSD-like licenses.

See LICENSE-APACHE, and LICENSE-MIT for details.