Created
February 27, 2015 00:28
-
-
Save CyberShadow/839e458153787a298b6b to your computer and use it in GitHub Desktop.
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
@echo off | |
rem This batch file assumes that CMake is installed in C:\Cmake, | |
rem MinGW-32 in C:\mingw32, and MinGW-64 in C:\mingw64. | |
call :oneplatform 32 | |
call :oneplatform 64 | |
goto :eof | |
:oneplatform | |
set PATH=%WINDIR%\System32;%WINDIR%;C:\cmake\bin;C:\mingw%1\bin | |
set MAKE= | |
cmake -Wno-dev -G "MinGW Makefiles" -H. -Bbuild/%1 | |
if errorlevel 1 exit /b 1 | |
cmake --build build/%1 | |
if errorlevel 1 exit /b 1 | |
goto :eof |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment