make.bat: Preliminary Visual Studio 2019 support.
[blender.git] / build_files / windows / parse_arguments.cmd
index e8cadda..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" (
@@ -64,6 +71,8 @@ if NOT "%1" == "" (
                shift /1
        ) else if "%1" == "nobuild" (
                set NOBUILD=1
+       ) else if "%1" == "pydebug" (
+               set WITH_PYDEBUG=1
        ) else if "%1" == "showhash" (
                SET BUILD_SHOW_HASHES=1
        REM Non-Build Commands