Last active
January 1, 2016 17:39
-
-
Save LB--/8178440 to your computer and use it in GitHub Desktop.
rebuild.bat - Windows build script for ChessPlusPlus
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
del /s /f /q .\build\* && for /f %%f in ('dir /ad /b .\build\ ') do rd /s /q .\build\%f | |
title ChessPlusPlus-Build && mkdir build | |
cd build && cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_CXX_FLAGS="-DCHESSPP_TRUNC_LOGS=1 -Wall -Wextra -pedantic -Winit-self -Wredundant-decls -Wcast-align -Wfloat-equal -Wunreachable-code -Wmissing-include-dirs -Wmain -Werror -Wfatal-errors -Wno-unused-parameter -Wno-unused-local-typedefs" -DSTATIC_BUILD=1 -DBOOST_ROOT=C:/MinGW -DSFML_ROOT=C:/MinGW ../ | |
cmd /k "make" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment