ittapi-rs 0.2.0

Rust bindings for ittapi
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Build the `ittapi` C library in the parent directory. The `cc` configuration here should match
//! that of the parent directories `CMakeLists.txt` (TODO: keep these in sync,
//! https://github.com/intel/ittapi/issues/36).

fn main() {
    cc::Build::new()
        .file("c-library/src/ittnotify/ittnotify_static.c")
        .file("c-library/src/ittnotify/jitprofiling.c")
        .include("c-library/src/ittnotify/")
        .include("c-library/include/")
        .compile("ittnotify");
}