You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
mxml/build.sh

23 lines
288 B

#!/bin/bash
set -e
cd "`dirname "$0"`"
mkdir -p build/
pushd build
build_type=Release # SET BUILD TYPE HERE
if [[ "$OSTYPE" == "darwin"* ]]; then
cmake .. -G "Xcode" -DCMAKE_BUILD_TYPE=$build_type
else
cmake .. -DCMAKE_BUILD_TYPE=$build_type
fi
make
make test
popd > /dev/null