Explorar o código

Added build scripts for MacOS.

David Piuva hai 8 meses
pai
achega
1279d72f18

+ 5 - 0
Source/SDK/cube/build_macos.sh

@@ -0,0 +1,5 @@
+
+# Launch the build system with Cube.DsrProj and MacOS selected as the platform.
+echo "Running build_macos.sh $@"
+chmod +x ../../tools/builder/buildProject.sh;
+../../tools/builder/buildProject.sh Cube.DsrProj MacOS $@;

+ 5 - 0
Source/SDK/fileFinder/build_macos.sh

@@ -0,0 +1,5 @@
+
+# Launch the build system with FileFinder.DsrProj and MacOS selected as the platform.
+echo "Running build_macos.sh $@"
+chmod +x ../../tools/builder/buildProject.sh;
+../../tools/builder/buildProject.sh FileFinder.DsrProj MacOS $@;

+ 5 - 0
Source/SDK/guiExample/build_macos.sh

@@ -0,0 +1,5 @@
+
+# Launch the build system with GuiExample.DsrProj and MacOS selected as the platform.
+echo "Running build_macos.sh $@"
+chmod +x ../../tools/builder/buildProject.sh;
+../../tools/builder/buildProject.sh GuiExample.DsrProj MacOS $@;

+ 5 - 0
Source/SDK/integrationTest/build_macos.sh

@@ -0,0 +1,5 @@
+
+# Launch the build system with IntegrationTest.DsrProj and MacOS selected as the platform.
+echo "Running build_macos.sh $@"
+chmod +x ../../tools/builder/buildProject.sh;
+../../tools/builder/buildProject.sh IntegrationTest.DsrProj MacOS $@;

+ 1 - 1
Source/SDK/music/build_macos.sh

@@ -1,5 +1,5 @@
 
 
 # Launch the build system with Music.DsrProj and MacOS selected as the platform.
 # Launch the build system with Music.DsrProj and MacOS selected as the platform.
-echo "Running build_linux.sh $@"
+echo "Running build_macos.sh $@"
 chmod +x ../../tools/builder/buildProject.sh;
 chmod +x ../../tools/builder/buildProject.sh;
 ../../tools/builder/buildProject.sh Music.DsrProj MacOS $@;
 ../../tools/builder/buildProject.sh Music.DsrProj MacOS $@;

+ 5 - 0
Source/SDK/sandbox/build_macos.sh

@@ -0,0 +1,5 @@
+
+# Launch the build system with Sandbox.DsrProj and MacOS selected as the platform.
+echo "Running build_macos.sh $@"
+chmod +x ../../tools/builder/buildProject.sh;
+../../tools/builder/buildProject.sh Sandbox.DsrProj MacOS $@;

+ 1 - 1
Source/SDK/terrain/build_macos.sh

@@ -1,5 +1,5 @@
 
 
 # Launch the build system with Terrain.DsrProj and MacOS selected as the platform.
 # Launch the build system with Terrain.DsrProj and MacOS selected as the platform.
-echo "Running build_linux.sh $@"
+echo "Running build_macos.sh $@"
 chmod +x ../../tools/builder/buildProject.sh;
 chmod +x ../../tools/builder/buildProject.sh;
 ../../tools/builder/buildProject.sh Terrain.DsrProj MacOS $@;
 ../../tools/builder/buildProject.sh Terrain.DsrProj MacOS $@;

+ 6 - 0
Source/templates/basic3D/build_macos.sh

@@ -0,0 +1,6 @@
+#!/bin/bash
+
+# Launch the build system with Basic3D.DsrProj and MacOS selected as the platform.
+echo "Running build_macos.sh $@"
+chmod +x ../../tools/builder/buildProject.sh;
+../../tools/builder/buildProject.sh Basic3D.DsrProj MacOS $@;

+ 6 - 0
Source/templates/basicCLI/build_macos.sh

@@ -0,0 +1,6 @@
+#!/bin/bash
+
+# Launch the build system with BasicCLI.DsrProj and MacOS selected as the platform.
+echo "Running build_macos.sh $@"
+chmod +x ../../tools/builder/buildProject.sh;
+../../tools/builder/buildProject.sh BasicCLI.DsrProj MacOS $@;

+ 6 - 0
Source/templates/basicGUI/build_macos.sh

@@ -0,0 +1,6 @@
+#!/bin/bash
+
+# Launch the build system with BasicGUI.DsrProj and MacOS selected as the platform.
+echo "Running build_macos.sh $@"
+chmod +x ../../tools/builder/buildProject.sh;
+../../tools/builder/buildProject.sh BasicGUI.DsrProj MacOS $@;

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

@@ -1,6 +1,3 @@
-# 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.
 # Launch the build system with Wizard.DsrProj and MacOS selected as the platform.
 echo "Running build_macos.sh $@"
 echo "Running build_macos.sh $@"

+ 1 - 0
Source/windowManagers/CocoaWindow.mm

@@ -3,6 +3,7 @@
 //   Do not use in released applications.
 //   Do not use in released applications.
 // Missing features:
 // Missing features:
 //   * Handling cursor locations outside of the canvas.
 //   * Handling cursor locations outside of the canvas.
+//     Needs to remove the title and button decorations in full screen mode, so that the cursor location does not become corrupted at the top.
 //   * Typing text.
 //   * Typing text.
 //   * Copy and paste with clipboard.
 //   * Copy and paste with clipboard.
 //   * Minimizing the window.
 //   * Minimizing the window.