gdk 0.1.3

Rust bindings for the GDK library
1
2
3
4
5
6
7
8
9
10
use std::env;

fn main() {
    let cfgs = env::var("OVERRIDE_GDK_CFG")
        .or_else(|_| env::var("DEP_GDK_CFG"))
        .unwrap_or_else(|e| panic!("Failed to read `DEP_GDK_CFG`: {}", e));
    for cfg in cfgs.split(' ').filter(|s| !s.is_empty()) {
        println!("cargo:rustc-cfg={}", cfg);
    }
}