All Projects → lu-zero → autotools-rs

lu-zero / autotools-rs

Licence: MIT license
build.rs helper to configure and compile autotools and configure/make projects

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to autotools-rs

Cargo Chef
A cargo-subcommand to speed up Rust Docker builds using Docker layer caching.
Stars: ✭ 192 (+814.29%)
Mutual labels:  cargo
Alexandrie
An alternative crate registry, implemented in Rust.
Stars: ✭ 251 (+1095.24%)
Mutual labels:  cargo
i3lock-color
The world's most popular non-default computer lockscreen.
Stars: ✭ 904 (+4204.76%)
Mutual labels:  autotools
Kubernetes Kargo Logging Monitoring
Deploy kubernetes cluster with kargo
Stars: ✭ 202 (+861.9%)
Mutual labels:  cargo
Gradle Cargo Plugin
Gradle plugin that provides deployment capabilities to local and remote containers via Cargo
Stars: ✭ 238 (+1033.33%)
Mutual labels:  cargo
rust-nix-templater
Generates Nix build / dev files for Rust projects.
Stars: ✭ 49 (+133.33%)
Mutual labels:  cargo
Cargo Play
A local Rust playground
Stars: ✭ 189 (+800%)
Mutual labels:  cargo
coding-challenge
Algorithms and Data-structures, problems and solutions in Rust language using cargo-workspaces
Stars: ✭ 17 (-19.05%)
Mutual labels:  cargo
Dinghy
Easier cross-compilation for phones and single boards computers
Stars: ✭ 241 (+1047.62%)
Mutual labels:  cargo
cargo-watch
Watches over your Cargo project's source.
Stars: ✭ 2,061 (+9714.29%)
Mutual labels:  cargo
Rust Script
Run Rust files and expressions as scripts without any setup or compilation step.
Stars: ✭ 207 (+885.71%)
Mutual labels:  cargo
Toolchain
🛠️ GitHub Action for `rustup` commands
Stars: ✭ 229 (+990.48%)
Mutual labels:  cargo
templa-rs
One-Stop Solution for all boilerplate needs!
Stars: ✭ 27 (+28.57%)
Mutual labels:  cargo
Cargo C
build and install C-compatible libraries
Stars: ✭ 196 (+833.33%)
Mutual labels:  cargo
cargo-hack
Cargo subcommand to provide various options useful for testing and continuous integration.
Stars: ✭ 295 (+1304.76%)
Mutual labels:  cargo
Naersk
Build rust crates in Nix. No configuration, no code generation, no IFD. Sandbox friendly.
Stars: ✭ 193 (+819.05%)
Mutual labels:  cargo
xconfigure
High-Performance configuration patterns and recipes.
Stars: ✭ 42 (+100%)
Mutual labels:  configure
crane
A Nix library for building cargo projects. Never build twice thanks to incremental artifact caching.
Stars: ✭ 348 (+1557.14%)
Mutual labels:  cargo
teamcity-rust-plugin
TeamCity Rust and Cargo plugin
Stars: ✭ 29 (+38.1%)
Mutual labels:  cargo
V2Switcher
极简V2Ray配置切换器,拯救多线用户
Stars: ✭ 24 (+14.29%)
Mutual labels:  configure

autotools/configure&make support for build.rs

LICENSE dependency status crates.io docs.rs Actions Status

A build dependency to compile a native library that uses autotools or a compatible configure script + make.

It is based on cmake-rs and the API tries to be as similar as possible to it.

For Emscripten targets like "wasm32-unknown-emscripten", configure and make invocations are passed as arguments to emconfigure and emmake respectively as described in the Emscripten docs.

# Cargo.toml
[build-dependencies]
autotools = "0.2"
// build.rs
use autotools;

// Build the project in the path `foo` and installs it in `$OUT_DIR`
let dst = autotools::build("foo");

// Simply link the library without using pkg-config
println!("cargo:rustc-link-search=native={}", dst.display());
println!("cargo:rustc-link-lib=static=foo");
// build.rs
use autotools::Config;

let dst = Config::new("foo")
    .reconf("-ivf")
    .enable("feature", None)
    .with("dep", None)
    .disable("otherfeature", None)
    .without("otherdep", None)
    .cflag("-Wall")
    .build();
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].