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