Skip to content

Commit

Permalink
Set compiler to GCC
Browse files Browse the repository at this point in the history
  • Loading branch information
hbatagelo committed Aug 27, 2021
1 parent 6a1a6f2 commit f7cd915
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ rd /s /q build 2>nul
mkdir build & cd build

:: Configure
cmake -GNinja -DCMAKE_BUILD_TYPE=%BUILD_TYPE% ..
cmake -GNinja -DCMAKE_BUILD_TYPE=%BUILD_TYPE% ^
-DCMAKE_CXX_COMPILER=g++ ^
-DCMAKE_C_COMPILER=gcc ^
..

:: Build
cmake --build . --config %BUILD_TYPE% -- -j %NUMBER_OF_PROCESSORS%
Expand Down

0 comments on commit f7cd915

Please sign in to comment.