retours 0.0.4

Experimental. You probably don't want to use this.
1
2
3
4
5
6
7
8
9
10

fn main() {
    let detours = cmake::Config::new(".")
        .profile("RelWithDebInfo")
        .build();

    println!("cargo:rerun-if-changed=CMakeLists.txt");
    println!("cargo:rustc-link-search=native={}", detours.display());
    println!("cargo:rustc-link-lib=static=lib/detours");
}