Visual Studio 2010 build script.

more environment variables for easier customization.
This commit is contained in:
Enno Rehling 2014-03-15 14:04:45 -07:00
parent 98b5d2a842
commit 2996f32e00
1 changed files with 5 additions and 0 deletions

5
vs2010-build.bat Normal file
View File

@ -0,0 +1,5 @@
@ECHO OFF
mkdir build-vs10
cd build-vs10
SET ERESSEA=%Userprofile%/Documents/Projects/Eressea
"%ProgramFiles(x86)%\CMake 2.8\bin\cmake.exe" -G "Visual Studio 10" -DCMAKE_PREFIX_PATH="%ProgramFiles(x86)%/Lua/5.1;%ERESSEA%/dependencies-win32" -DCMAKE_MODULE_PATH="%ERESSEA%/server/cmake/Modules" -DCMAKE_SUPPRESS_REGENERATION=TRUE ..