summaryrefslogtreecommitdiff
path: root/sys/build.rs
diff options
context:
space:
mode:
authorMicha White <botahamec@outlook.com>2024-08-15 20:14:15 -0400
committerMicha White <botahamec@outlook.com>2024-08-15 20:14:15 -0400
commitf8a80039c74332e2101a177ef3fde31ef2077224 (patch)
treef887c96bf9879a28b7ce914ad96161f63ee83190 /sys/build.rs
parent488c7ed94b0662222fa0d825ab81b60b0b1e5d6c (diff)
Lots a changes
Diffstat (limited to 'sys/build.rs')
-rw-r--r--sys/build.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/build.rs b/sys/build.rs
new file mode 100644
index 0000000..c33a20f
--- /dev/null
+++ b/sys/build.rs
@@ -0,0 +1,8 @@
+fn main() {
+ let out_dir = std::env::var("OUT_DIR").unwrap();
+ eprintln!("{out_dir}");
+ println!("cargo:rustc-link-lib=d3d11");
+ println!("cargo:rustc-link-search=native=./");
+ println!("cargo:rustc-link-lib-static=alligator_backend");
+ println!("cargo:rerun-if-changed=alligator_backend.lib");
+}