minetestmapper/util/travis/script.sh

18 lines
258 B
Bash
Raw Normal View History

2014-12-24 21:24:49 +01:00
#!/bin/bash -e
CXX=g++-6
2017-09-03 14:36:46 +02:00
[ $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 \
-DLEVELDB_LIBRARY=../libleveldb/lib/libleveldb.so \
-DLEVELDB_INCLUDE_DIR=../libleveldb/include \
..
2014-12-24 21:24:49 +01:00
make -j2