OpenTTD-patches/build-dedicated.sh
2020-07-20 02:01:10 +01:00

8 lines
162 B
Bash
Executable File

#!/bin/bash
cd "$(dirname "$BASH_SOURCE")"
mkdir -p build
cd build
rm CMakeCache.txt
cmake .. -DOPTION_DEDICATED=true && make -j$(nproc 2>/dev/null || echo "1")