Add buildall.bat script for Windows. Also various example build fixes for Windows

This commit is contained in:
Matt Pharr
2011-10-04 11:41:13 -07:00
parent e4d224a0f1
commit 9b7f55a28e
4 changed files with 22 additions and 9 deletions

17
buildall.bat Normal file
View File

@@ -0,0 +1,17 @@
@echo off
REM If LLVM_INSTALL_DIR isn't set globally in your environment,
REM it can be set here_
set LLVM_INSTALL_DIR=c:\users\mmp\llvm-dev
REM Both the LLVM binaries and python need to be in the path
set path=%LLVM_INSTALL_DIR%\bin;%PATH%;c:\cygwin\bin
msbuild ispc.vcxproj /m:4 /V:m /p:Platform=Win32 /p:Configuration=Release
msbuild examples\examples.sln /m:4 /V:m /p:Platform=x64 /p:Configuration=Release
msbuild examples\examples.sln /m:4 /V:m /p:Platform=x64 /p:Configuration=Debug
msbuild examples\examples.sln /m:4 /V:m /p:Platform=Win32 /p:Configuration=Release
msbuild examples\examples.sln /m:4 /V:m /p:Platform=Win32 /p:Configuration=Debug