mirror of https://github.com/lukechilds/cc-rs.git
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.
21 lines
475 B
21 lines
475 B
10 years ago
|
# 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.
|
||
|
|
||
|
```rust
|
||
|
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.
|