OSDN Git Service

GUI: Added command-line option to force pure software rendering.
[slunkcrypt/SlunkCrypt.git] / mk-release.cmd
index 019cecc..4278912 100644 (file)
@@ -12,19 +12,21 @@ if not exist "%MSVC_PATH%\Auxiliary\Build\vcvarsall.bat" (
        goto:eof
 )
 
-for %%p in (x86,x64) do (
+for %%p in (x86,x64,ARM64) do (
        call "%MSVC_PATH%\Auxiliary\Build\vcvarsall.bat" %%p
-       for %%c in (Release,Release_SSE2) do (
-               %ECHO% white "\n------------------------------------------------------------------------------"
-               %ECHO% white "Clean [%%p:%%c]"
-               %ECHO% white "------------------------------------------------------------------------------\n"
-               MSBuild.exe /property:Configuration=%%c /property:Platform=%%p /target:Clean /verbosity:normal "%~dp0\Slunk.sln"
-               if not "!ERRORLEVEL!"=="0" goto:BuildFailed
-               %ECHO% white "\n------------------------------------------------------------------------------"
-               %ECHO% white "Compile [%%p:%%c]"
-               %ECHO% white "------------------------------------------------------------------------------\n"
-               MSBuild.exe /property:Configuration=%%c /property:Platform=%%p /target:Build /verbosity:normal "%~dp0\Slunk.sln"
-               if not "!ERRORLEVEL!"=="0" goto:BuildFailed
+       for %%c in (Release,Release_SSE2,Release_DLL,Debug) do (
+               if not "%%p::%%c"=="ARM64::Release_SSE2" (
+                       %ECHO% white "\n------------------------------------------------------------------------------"
+                       %ECHO% white "Clean [%%p:%%c]"
+                       %ECHO% white "------------------------------------------------------------------------------\n"
+                       MSBuild.exe /property:Configuration=%%c /property:Platform=%%p /target:Clean /verbosity:normal "%~dp0\Slunk.sln"
+                       if not "!ERRORLEVEL!"=="0" goto:BuildFailed
+                       %ECHO% white "\n------------------------------------------------------------------------------"
+                       %ECHO% white "Compile [%%p:%%c]"
+                       %ECHO% white "------------------------------------------------------------------------------\n"
+                       MSBuild.exe /property:Configuration=%%c /property:Platform=%%p /target:Build /verbosity:normal "%~dp0\Slunk.sln"
+                       if not "!ERRORLEVEL!"=="0" goto:BuildFailed
+               )
        )
 )