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