make.bat: Preliminary Visual Studio 2019 support.
[blender.git] / build_files / windows / parse_arguments.cmd
index 30bd2eb..c76efd4 100644 (file)
@@ -53,10 +53,17 @@ if NOT "%1" == "" (
        ) else if "%1" == "2017pre" (
                set BUILD_VS_YEAR=2017
                set VSWHERE_ARGS=-prerelease
-               set BUILD_VS_YEAR=2017
        ) else if "%1" == "2017b" (
                set BUILD_VS_YEAR=2017
                set VSWHERE_ARGS=-products Microsoft.VisualStudio.Product.BuildTools
+       ) else if "%1" == "2019" (
+               set BUILD_VS_YEAR=2019
+       ) else if "%1" == "2019pre" (
+               set BUILD_VS_YEAR=2019
+               set VSWHERE_ARGS=-prerelease
+       ) else if "%1" == "2019b" (
+               set BUILD_VS_YEAR=2019
+               set VSWHERE_ARGS=-products Microsoft.VisualStudio.Product.BuildTools
        ) else if "%1" == "2015" (
                set BUILD_VS_YEAR=2015
        ) else if "%1" == "packagename" (