imgui-memory-editor-sys 0.3.0

Raw FFI bindings to imgui memory editor
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use std::path::Path;

fn main() {
    println!("cargo:rerun-if-changed=wrapper.cpp");
    println!("cargo:rustc-link-lib=cimgui");

    let imgui_dir = std::env::var_os("DEP_IMGUI_THIRD_PARTY").expect("imgui-sys expected to specify imgui dir");
    let imgui_dir = Path::new(&imgui_dir).join("imgui");

    cc::Build::new()
    .cpp(true)
    .include(imgui_dir)
    .file("wrapper.cpp")
    .compile("imgui_memory_editor");
}