2015-09-26 14:01:01 +02:00
|
|
|
@ECHO OFF
|
|
|
|
SET VSVERSION=14
|
|
|
|
SET SRCDIR=%CD%
|
|
|
|
CD ..
|
|
|
|
SET ERESSEA=%CD%
|
|
|
|
|
|
|
|
CD %SRCDIR%
|
2016-05-20 22:38:18 +02:00
|
|
|
IF exist build-vs%VSVERSION% goto HAVEDIR
|
2015-09-26 14:01:01 +02:00
|
|
|
mkdir build-vs%VSVERSION%
|
2016-05-20 22:38:18 +02:00
|
|
|
:HAVEDIR
|
2015-09-26 14:01:01 +02:00
|
|
|
cd build-vs%VSVERSION%
|
2018-01-01 01:06:14 +01:00
|
|
|
"%ProgramFiles%\CMake\bin\cmake.exe" -G "Visual Studio %VSVERSION%" -DCMAKE_PREFIX_PATH="%ProgramFiles(x86)%\Lua\5.1;%ERESSEA%\dependencies-win32" -DCMAKE_SUPPRESS_REGENERATION=TRUE ..
|
2015-09-26 14:01:01 +02:00
|
|
|
PAUSE
|