summaryrefslogtreecommitdiff
path: root/editor/build.rs
diff options
context:
space:
mode:
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