2015-10-29 10:54:24 -04:00
|
|
|
#!/bin/bash
|
2015-07-10 16:24:09 -04:00
|
|
|
mkdir -p build
|
|
|
|
|
|
|
|
unset MACOSX_DEPLOYMENT_TARGET
|
|
|
|
unset CMAKE_OSX_SYSROOT
|
|
|
|
|
2019-05-14 16:23:47 -04:00
|
|
|
export MACOSX_DEPLOYMENT_TARGET="10.9"
|
|
|
|
export CMAKE_OSX_SYSROOT="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk"
|
2015-07-10 16:24:09 -04:00
|
|
|
|
2015-11-18 16:11:53 -05:00
|
|
|
cd build
|
2019-05-14 16:23:47 -04:00
|
|
|
cmake -stdlib=libc++ ..
|
2015-11-18 16:11:53 -05:00
|
|
|
make "$@"
|
|
|
|
cd ..
|