diff options
| author | Andreas Grois <andi@grois.info> | 2022-10-10 21:30:02 +0200 |
|---|---|---|
| committer | Andreas Grois <andi@grois.info> | 2022-10-10 21:37:15 +0200 |
| commit | e4ad766315879e1ff05bb111229f073f8f0ed68e (patch) | |
| tree | 4b043ff47c78b2c00c80c94ebda622c32c8b6d3d /rust_testhelper/build.rs | |
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.
Diffstat (limited to 'rust_testhelper/build.rs')
| -rw-r--r-- | rust_testhelper/build.rs | 9 |
1 files changed, 9 insertions, 0 deletions
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"); +} |
