build.rs 600 B

12345678910111213
  1. extern crate cheddar;
  2. fn main() {
  3. // Generate mp4parse.h.
  4. cheddar::Cheddar::new().expect("could not read manifest")
  5. .module("capi").expect("invalid module path")
  6. .insert_code("// THIS FILE IS AUTOGENERATED BY mp4parse-rust/build.rs - DO NOT EDIT\n\n")
  7. .insert_code("// This Source Code Form is subject to the terms of the Mozilla Public\n")
  8. .insert_code("// License, v. 2.0. If a copy of the MPL was not distributed with this\n")
  9. .insert_code("// file, You can obtain one at https://mozilla.org/MPL/2.0/.")
  10. .run_build("include/mp4parse.h");
  11. }