minetestmapper/util/travis/script.sh

18 lines
275 B
Bash
Raw Normal View History

2014-12-24 21:24:49 +01:00
#!/bin/bash -e
CXX=g++-6
[ $CC == "clang" ] && CXX=clang-3.8
export CXX
2014-12-24 21:24:49 +01:00
mkdir -p travisbuild
cd travisbuild
cmake \
-DENABLE_LEVELDB=1 -DUSE_CXX11=$CXX11 \
-DLEVELDB_LIBRARY=../libleveldb/lib/libleveldb.so \
-DLEVELDB_INCLUDE_DIR=../libleveldb/include \
..
2014-12-24 21:24:49 +01:00
make -j2