From b120a8edfbdf7a8963a297fc13e1e3f826f9f36f Mon Sep 17 00:00:00 2001 From: DEft Date: Tue, 1 Dec 2020 23:28:01 +0100 Subject: [PATCH] Add build scripts for macos --- neo/cmake-macos-vulkan-debug.sh | 5 +++++ neo/cmake-macos-vulkan-release.sh | 5 +++++ 2 files changed, 10 insertions(+) create mode 100755 neo/cmake-macos-vulkan-debug.sh create mode 100755 neo/cmake-macos-vulkan-release.sh diff --git a/neo/cmake-macos-vulkan-debug.sh b/neo/cmake-macos-vulkan-debug.sh new file mode 100755 index 00000000..453bb03d --- /dev/null +++ b/neo/cmake-macos-vulkan-debug.sh @@ -0,0 +1,5 @@ +cd .. +rm -rf build +mkdir build +cd build +cmake -DOPENAL_LIBRARY=/usr/local/opt/openal-soft/lib/libopenal.dylib -DOPENAL_INCLUDE_DIR=/usr/local/opt/openal-soft/include -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug -DSDL2=ON -DUSE_VULKAN=ON -DSPIRV_SHADERC=OFF ../neo -Wno-dev -Wexpansion-to-defined \ No newline at end of file diff --git a/neo/cmake-macos-vulkan-release.sh b/neo/cmake-macos-vulkan-release.sh new file mode 100755 index 00000000..4d62fb24 --- /dev/null +++ b/neo/cmake-macos-vulkan-release.sh @@ -0,0 +1,5 @@ +cd .. +rm -rf build +mkdir build +cd build +cmake -DOPENAL_LIBRARY=/usr/local/opt/openal-soft/lib/libopenal.dylib -DOPENAL_INCLUDE_DIR=/usr/local/opt/openal-soft/include -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DSDL2=ON -DUSE_VULKAN=ON -DSPIRV_SHADERC=OFF ../neo