Optimize builds in CMakeLists.txt and run.bat

This commit is contained in:
2026-06-19 15:59:15 -05:00
parent 0fea9ab8a4
commit 7a39b4aa20
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ if %errorlevel%==0 (
if not exist build\CMakeCache.txt (
cmake -S . -B build %GENERATOR% -DCMAKE_BUILD_TYPE=Release || exit /b 1
)
cmake --build build --config Release --parallel || exit /b 1
cmake --build build --config Release --parallel %NUMBER_OF_PROCESSORS% || exit /b 1
if exist build\bin\gitree.exe (
start "" build\bin\gitree.exe %*