Created
June 22, 2015 21:48
-
-
Save JeriXNet/f19ac00018b9bf21447c to your computer and use it in GitHub Desktop.
scripts for quick FD testing for Kha/make windows
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 | |
set vsvars=%VS140COMNTOOLS%\vsvars32.bat | |
if not exist "%vsvars%" set vsvars=%VS120COMNTOOLS%\vsvars32.bat | |
if not exist "%vsvars%" echo vsvars32.bat not found & pause & exit /b 1 | |
call "%vsvars%" | |
if errorlevel 1 echo vsvars32.bat run failed & pause & exit /b 1 | |
MSBuild.exe windows-build\%prj_name%.vcxproj /m /p:Configuration=Debug,Platform=Win32 | |
if errorlevel 1 echo MSBuild failed & pause & exit /b 1 | |
pushd windows\ | |
..\windows-build\Debug\%prj_name%.exe | |
popd | |
if errorlevel 1 echo run failed & pause & exit /b 1 | |
echo all ok | |
pause |
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 | |
set prj_name=SpecificPrjName | |
msbuild_test.cmd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks, will incorporate that directly in khamake for the --compile and --run options (which are currently only implemented for Linux and OSX).