mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-10 09:32:29 +01:00
fix syntax use elif run it with bash fix directory incantations add missing build steps dont use colors if not terminal update install.sh add sanity check changes set verbose mode enable debug output changes to get it working on mac Platform specific cmakelists fix issue with intptr_t not being found/defined update build scripts see if it can find the pkg-config try running it outside of cmake check whether excho works way we expect try -e remove debug info
20 lines
347 B
Bash
Executable File
20 lines
347 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
if [[ ! -d build ]]; then
|
|
mkdir -p build
|
|
fi
|
|
|
|
pushd build
|
|
cmake -DCMAKE_TOOLCHAIN_FILE=../CMakeLists_mingw.txt -DCMAKE_BUILD_TYPE=Debug ..
|
|
make
|
|
popd
|
|
|
|
if [[ -t 1 ]]; then
|
|
echo "\033[95mDone! Run OpenRCT2 by typing:\n\nwine openrct2.exe\n\033[0m"
|
|
else
|
|
echo "Done! Run OpenRCT2 by typing:\n\nwine openrct2.exe\n"
|
|
fi
|
|
|