From 50d233b2a762744c5917029bd6be4ffb7aa2dd02 Mon Sep 17 00:00:00 2001 From: aeiouaeiouaeiouaeiouaeiouaeiou Date: Mon, 31 Oct 2022 10:26:03 +0300 Subject: [PATCH] Add macos_build script --- macos_build.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 macos_build.sh diff --git a/macos_build.sh b/macos_build.sh new file mode 100755 index 0000000..5f45f88 --- /dev/null +++ b/macos_build.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +mkdir build +cd build +cmake -D CMAKE_C_COMPILER=/opt/local/bin/clang-mp-15 -D CMAKE_CXX_COMPILER=/opt/local/bin/clang++-mp-15 -D CMAKE_C_FLAGS="-march=core2" -D CMAKE_CXX_FLAGS="-march=core2" .. +cmake --build . --config Release