LucidCube/build-fastcompile.sh
Rebekah Rowe d8b5b2e876
New Easy Build scripts for linux.
I want to go fast, these allow you to simply run the script and it goes.
2024-02-13 10:52:22 -05:00

13 lines
217 B
Bash
Executable File

#!/bin/sh -e
if [ -f CMakeLists.txt ]; then
mkdir -p build
cd build
fi
if ! [ -f CMakeCache.txt ]; then
cmake -DCMAKE_BUILD_TYPE=Release -DUNITY_BUILDS=OFF -DWHOLE_PROGRAM_OPTIMISATION=OFF ..
fi
make -j$(nproc)