mirror of
https://github.com/minetest/minetestmapper.git
synced 2024-11-13 22:20:29 +01:00
18 lines
258 B
Bash
Executable File
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
|