make.bat: add 'clean' command
authorCampbell Barton <ideasman42@gmail.com>
Fri, 1 Jan 2016 15:30:02 +0000 (02:30 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Fri, 1 Jan 2016 15:30:02 +0000 (02:30 +1100)
make.bat

index 71a7ca1b4d946288351686b7cebfb6d2dab85a7c..06137f58ae1960fe4d294fff90fa41c120b4bd92 100644 (file)
--- a/make.bat
+++ b/make.bat
@@ -59,6 +59,7 @@ if NOT "%1" == "" (
                echo - bpy
                echo.
                echo Utilities ^(not associated with building^)
+               echo - clean
                echo - update
                goto EOF
        )
@@ -96,6 +97,14 @@ if NOT "%1" == "" (
                git pull --rebase
                git submodule foreach git pull --rebase origin master
                goto EOF
+       ) else if "%1" == "clean" (
+               msbuild ^
+                       %BUILD_DIR%\Blender.sln ^
+                       /target:clean ^
+                       /property:Configuration=%BUILD_TYPE% ^
+                       /verbosity:minimal
+               echo Cleaned "%BUILD_DIR%"
+               goto EOF
        ) else (
                echo Command "%1" unknown, aborting!
                goto EOF