ittapi-sys 0.3.5

Rust bindings for ittapi
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Build the `ittapi` C library in the parent directory. The `cc` configuration here should match
//! that of the parent directory's `CMakeLists.txt` (TODO: keep these in sync, see [#36]).
//!
//! [#36]: 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");
}