yoga-sys 0.2.3

Raw rust bindings for yoga (facebook flex layout cross-platform engine)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
extern crate cc;
extern crate skeptic;

fn main() {
    skeptic::generate_doc_tests(&["README.md"]);
    cc::Build::new()
        .file("c/YGEnums.cpp")
        .file("c/YGNodeList.cpp")
        .file("c/Yoga.cpp")
        .file("c/YGNodePrint.cpp")
        .cpp(true)
        .flag_if_supported("-std=c++14")
        .flag_if_supported("/std:c++14")
        .flag_if_supported("/EHsc")
        .flag_if_supported("-Wno-unused-parameter")
        .compile("libyoga.a");
}