summaryrefslogtreecommitdiff
path: root/editor/build.rs
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-26 23:15:22 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-07-26 23:15:22 +1000
commit2e2c57a8c04575eec164279a49947cfdba250853 (patch)
treeb5d20aa256de40ebd9bad7c59ab1e8ebb1c47b52 /editor/build.rs
parentf5e5a6fdf58f3135f3211135bfbcb6e70630309f (diff)
scenes and pbr cleanup to handle missing texture of param
Diffstat (limited to 'editor/build.rs')
-rw-r--r--editor/build.rs20
1 files changed, 20 insertions, 0 deletions
diff --git a/editor/build.rs b/editor/build.rs
new file mode 100644
index 0000000..c37df51
--- /dev/null
+++ b/editor/build.rs
@@ -0,0 +1,20 @@
+fn main() {
+ // Tell cargo to look for shared libraries in the specified directory
+ // TODO: we need to look based on OS
+ // println!("cargo:rustc-link-search=/Users/josh/code/CodenameVentus/deps/celeritas-core/build/macosx/arm64/debug");
+ // // println!("cargo:rustc-link-search=../../build/windows/x64/debug");
+
+ // // Tell cargo to tell rustc to link the system bzip2
+ // // shared library.
+ // println!("cargo:rustc-link-lib=framework=CoreFoundation");
+ // println!("cargo:rustc-link-lib=framework=Cocoa");
+ // println!("cargo:rustc-link-lib=framework=IOKit");
+ // println!("cargo:rustc-link-lib=framework=OpenGL");
+
+ // println!("cargo:rustc-link-lib=core_static");
+ // println!("cargo:rustc-link-lib=glfw3");
+ // println!("cargo:rustc-link-lib=framework=Cocoa");
+ // println!("cargo:rustc-link-lib=framework=Foundation");
+ // println!("cargo:rustc-link-lib=framework=QuartzCore");
+
+} \ No newline at end of file