minetestmapper/util/travis/script.sh
2017-09-03 14:36:46 +02:00

18 lines
258 B
Bash
Executable File

#!/bin/bash -e
CXX=g++-6
[ $CC == "clang" ] && CXX=clang++-3.8
export CXX
mkdir -p travisbuild
cd travisbuild
cmake \
-DENABLE_LEVELDB=1 \
-DLEVELDB_LIBRARY=../libleveldb/lib/libleveldb.so \
-DLEVELDB_INCLUDE_DIR=../libleveldb/include \
..
make -j2