aboutsummaryrefslogtreecommitdiff
path: root/StormLib_vs19.bat
diff options
context:
space:
mode:
authorLadislav Zezula <zezula@volny.cz>2020-10-26 10:41:57 +0100
committerLadislav Zezula <zezula@volny.cz>2020-10-26 10:41:57 +0100
commit080158ee13f1f526f6d9c7181be0286200d6ce91 (patch)
tree45700f15d70fd2ee2a0c6a15ec1b341459e70df0 /StormLib_vs19.bat
parent6e836417806d2ca6944b2565c506590d91f21d5c (diff)
Added universal makefile for Visual Studio
Diffstat (limited to 'StormLib_vs19.bat')
-rw-r--r--StormLib_vs19.bat44
1 files changed, 0 insertions, 44 deletions
diff --git a/StormLib_vs19.bat b/StormLib_vs19.bat
deleted file mode 100644
index 6052b52..0000000
--- a/StormLib_vs19.bat
+++ /dev/null
@@ -1,44 +0,0 @@
-@echo off
-rem Build file for VS 2017 (expected in %ProgramFiles%\Microsoft Visual Studio\2017)
-
-rem Save the values of INCLUDE, LIB and PATH
-set SAVE_INCLUDE=%INCLUDE%
-set SAVE_LIB=%LIB%
-set SAVE_PATH=%PATH%
-
-rem Determine where the program files are, both for 64-bit and 32-bit Windows
-if exist "%ProgramFiles%" set PROGRAM_FILES_DIR=%ProgramFiles%
-if exist "%ProgramFiles(x86)%" set PROGRAM_FILES_DIR=%ProgramFiles(x86)%
-
-rem Determine the installed version of Visual Studio (Professional/Enterprise)
-if exist "%PROGRAM_FILES_DIR%\Microsoft Visual Studio\2017\Professional\VC\Auxiliary\Build\vcvarsall.bat" set VCVARS_BAT=%PROGRAM_FILES_DIR%\Microsoft Visual Studio\2017\Professional\VC\Auxiliary\Build\vcvarsall.bat
-if exist "%PROGRAM_FILES_DIR%\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" set VCVARS_BAT=%PROGRAM_FILES_DIR%\Microsoft Visual Studio\2017\Enterprise\VC\Auxiliary\Build\vcvarsall.bat
-
-:BUILD_32BIT
-call "%VCVARS_BAT%" x86
-devenv.com StormLib_vs19.sln /project "StormLib" /rebuild "DebugAD|Win32"
-devenv.com StormLib_vs19.sln /project "StormLib" /rebuild "DebugAS|Win32"
-devenv.com StormLib_vs19.sln /project "StormLib" /rebuild "DebugUD|Win32"
-devenv.com StormLib_vs19.sln /project "StormLib" /rebuild "DebugUS|Win32"
-devenv.com StormLib_vs19.sln /project "StormLib" /rebuild "ReleaseAD|Win32"
-devenv.com StormLib_vs19.sln /project "StormLib" /rebuild "ReleaseAS|Win32"
-devenv.com StormLib_vs19.sln /project "StormLib" /rebuild "ReleaseUD|Win32"
-devenv.com StormLib_vs19.sln /project "StormLib" /rebuild "ReleaseUS|Win32"
-call :RestoreEnvVars
-
-:BUILD_64BIT
-call "%VCVARS_BAT%" x64
-devenv.com StormLib_vs19.sln /project "StormLib" /rebuild "DebugAD|x64"
-devenv.com StormLib_vs19.sln /project "StormLib" /rebuild "DebugAS|x64"
-devenv.com StormLib_vs19.sln /project "StormLib" /rebuild "DebugUD|x64"
-devenv.com StormLib_vs19.sln /project "StormLib" /rebuild "DebugUS|x64"
-devenv.com StormLib_vs19.sln /project "StormLib" /rebuild "ReleaseAD|x64"
-devenv.com StormLib_vs19.sln /project "StormLib" /rebuild "ReleaseAS|x64"
-devenv.com StormLib_vs19.sln /project "StormLib" /rebuild "ReleaseUD|x64"
-devenv.com StormLib_vs19.sln /project "StormLib" /rebuild "ReleaseUS|x64"
-call :RestoreEnvVars
-
-:RestoreEnvVars
-set INCLUDE=%SAVE_INCLUDE%
-set LIB=%SAVE_LIB%
-set PATH=%SAVE_PATH%