diff --git a/build-fastcompile.sh b/build-fastcompile.sh index 2b5d1c6fc..510a91e18 100755 --- a/build-fastcompile.sh +++ b/build-fastcompile.sh @@ -6,7 +6,8 @@ if [ -f CMakeLists.txt ]; then fi if ! [ -f CMakeCache.txt ]; then - cmake -DCMAKE_BUILD_TYPE=Release -DUNITY_BUILDS=OFF -DWHOLE_PROGRAM_OPTIMISATION=OFF .. + # Unity builds do speed things up as less small files requiring a full compiler startup and cleanup for each. + cmake -DCMAKE_BUILD_TYPE=Release -DUNITY_BUILDS=ON -DWHOLE_PROGRAM_OPTIMISATION=OFF .. fi make -j$(nproc)