File tree 1 file changed +34
-0
lines changed
1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ @ echo off
2
+ @ setlocal enableextensions
3
+ rem @cd /d "%~dp0\..\"
4
+
5
+ if exist " %ProgramFiles% \Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" (
6
+ call " %ProgramFiles% \Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvarsall.bat" amd64_arm64
7
+ goto start
8
+ )
9
+
10
+ if exist " %ProgramFiles% \Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvarsall.bat" (
11
+ call " %ProgramFiles% \Microsoft Visual Studio\2022\Professional\VC\Auxiliary\Build\vcvarsall.bat" amd64_arm64
12
+ goto start
13
+ )
14
+
15
+ echo VS 2022 not found...
16
+
17
+ goto end
18
+
19
+ :start
20
+
21
+ msbuild timevertor.sln -property:Configuration=Release -property:Platform=x86 -verbosity:normal
22
+ if %ERRORLEVEL% neq 0 goto end
23
+
24
+ msbuild timevertor.sln -property:Configuration=Release -property:Platform=x64 -verbosity:normal
25
+ if %ERRORLEVEL% neq 0 goto end
26
+
27
+ msbuild timevertor.sln -property:Configuration=Release -property:Platform=ARM64 -verbosity:normal
28
+ if %ERRORLEVEL% neq 0 goto end
29
+
30
+ :end
31
+
32
+ echo done...
33
+
34
+ pause
You can’t perform that action at this time.
0 commit comments