From e4ad766315879e1ff05bb111229f073f8f0ed68e Mon Sep 17 00:00:00 2001 From: Andreas Grois Date: Mon, 10 Oct 2022 21:30:02 +0200 Subject: PassFish: Initial Commit Well, that's a lie. But nobody needs to see all the iterations I decided to sweep under the rug. That said, I think the repo is, while not clean, clean enough now, to not be embarrassed by uploading it to github. --- rust_testhelper/build.rs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 rust_testhelper/build.rs (limited to 'rust_testhelper/build.rs') diff --git a/rust_testhelper/build.rs b/rust_testhelper/build.rs new file mode 100644 index 0000000..6fa9026 --- /dev/null +++ b/rust_testhelper/build.rs @@ -0,0 +1,9 @@ +fn main() { + cc::Build::new() + .cpp(true) + .file("../src/pwm_qhash.cpp") + .include("/usr/include/qt5/") + .include("/usr/include/qt5/QtCore/") + .compile("pwm_qhash"); + println!("cargo:rustc-link-lib=Qt5Core"); +} -- cgit v1.2.3