Files
2016-02-14 12:04:24 +00:00

12 lines
291 B
Bash
Executable File

#!/bin/bash
# Travis-ci cmake version doesn't support ninja, so first check if it's supported
ninja_supported=`cmake --help | grep Ninja`
if [ -z $ninja_supported ]; then
echo "Ninja not supported"
exit
fi
mkdir -p build.ninja && cd build.ninja && \
cmake .. -G Ninja && ninja