Browse Source

Compiling the examples on MacOS.

David Piuva 8 months ago
parent
commit
d2828d058d
1 changed files with 8 additions and 0 deletions
  1. 8 0
      Source/tools/wizard/build_macos.sh

+ 8 - 0
Source/tools/wizard/build_macos.sh

@@ -0,0 +1,8 @@
+# Hack to use X11 on MacOS
+export CPATH=/opt/homebrew/include:$CPATH
+export LIBRARY_PATH=/opt/homebrew/lib:$LIBRARY_PATH
+
+# Launch the build system with Wizard.DsrProj and MacOS selected as the platform.
+echo "Running build_macos.sh $@"
+chmod +x ../builder/buildProject.sh;
+../builder/buildProject.sh Wizard.DsrProj MacOS $@;