forked from github/server
all build scripts get smart directory detection
This commit is contained in:
parent
632322a445
commit
ac3401431c
|
@ -1,7 +1,9 @@
|
||||||
@ECHO OFF
|
@ECHO OFF
|
||||||
SET VSVERSION=10
|
SET VSVERSION=10
|
||||||
SET ERESSEA=%Userprofile%/Documents/Eressea
|
SET SRCDIR=%CD%
|
||||||
|
CD ..
|
||||||
mkdir build-vs%VSVERSION%
|
SET ERESSEA=%CD%
|
||||||
cd build-vs%VSVERSION%
|
|
||||||
"%ProgramFiles(x86)%\CMake 2.8\bin\cmake.exe" -G "Visual Studio %VSVERSION%" -DCMAKE_PREFIX_PATH="%ProgramFiles(x86)%/Lua/5.1;%ERESSEA%/dependencies-win32" -DCMAKE_MODULE_PATH="%ERESSEA%/server/cmake/Modules" -DCMAKE_SUPPRESS_REGENERATION=TRUE ..
|
mkdir build-vs%VSVERSION%
|
||||||
|
cd build-vs%VSVERSION%
|
||||||
|
"%ProgramFiles(x86)%\CMake 2.8\bin\cmake.exe" -G "Visual Studio %VSVERSION%" -DCMAKE_PREFIX_PATH="%ProgramFiles(x86)%/Lua/5.1;%ERESSEA%/dependencies-win32" -DCMAKE_MODULE_PATH="%ERESSEA%/server/cmake/Modules" -DCMAKE_SUPPRESS_REGENERATION=TRUE ..
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
@ECHO OFF
|
@ECHO OFF
|
||||||
SET VSVERSION=11
|
SET VSVERSION=11
|
||||||
SET ERESSEA=%Userprofile%/Documents/Eressea
|
SET SRCDIR=%CD%
|
||||||
|
CD ..
|
||||||
mkdir build-vs%VSVERSION%
|
SET ERESSEA=%CD%
|
||||||
cd build-vs%VSVERSION%
|
|
||||||
"%ProgramFiles(x86)%\CMake 2.8\bin\cmake.exe" -G "Visual Studio %VSVERSION%" -DCMAKE_PREFIX_PATH="%ProgramFiles(x86)%/Lua/5.1;%ERESSEA%/dependencies-win32" -DCMAKE_MODULE_PATH="%ERESSEA%/server/cmake/Modules" -DCMAKE_SUPPRESS_REGENERATION=TRUE ..
|
mkdir build-vs%VSVERSION%
|
||||||
|
cd build-vs%VSVERSION%
|
||||||
|
"%ProgramFiles(x86)%\CMake 2.8\bin\cmake.exe" -G "Visual Studio %VSVERSION%" -DCMAKE_PREFIX_PATH="%ProgramFiles(x86)%/Lua/5.1;%ERESSEA%/dependencies-win32" -DCMAKE_MODULE_PATH="%ERESSEA%/server/cmake/Modules" -DCMAKE_SUPPRESS_REGENERATION=TRUE ..
|
||||||
|
|
Loading…
Reference in New Issue