third_party/vello/build.rs
raw| 1 | // Copyright 2023 Google LLC |
| 2 | // |
| 3 | // Use of this source code is governed by a BSD-style license that can be |
| 4 | // found in the LICENSE file. |
| 5 | |
| 6 | fn main() { |
| 7 | cxx_build::bridge("src/lib.rs") |
| 8 | .flag_if_supported("-std=c++17") |
| 9 | .include("../../") |
| 10 | .compile("vello_cpp"); |
| 11 | println!("cargo:rerun-if-changed=src/"); |
| 12 | println!("cargo:rerun-if-changed=include/"); |
| 13 | } |