OpenTTD-patches/build-dedicated.sh

8 lines
162 B
Bash
Raw Permalink Normal View History

#!/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")