-
Notifications
You must be signed in to change notification settings - Fork 175
Expand file tree
/
Copy pathBuild VxKex.bat
More file actions
43 lines (35 loc) · 1.36 KB
/
Copy pathBuild VxKex.bat
File metadata and controls
43 lines (35 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
@echo off
rem Set environment for 64-bit build
call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
rem Build the solution for x64
msbuild "VxKex.sln" /p:Configuration=Release /p:Platform=x64 /p:PlatformToolset=Windows7.1SDK /m
if errorlevel 1 (
echo Failed to build x64 Release configuration
exit /b 1
)
rem Set environment for 32-bit build
call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x86
rem Build the solution for Win32
msbuild "VxKex.sln" /p:Configuration=Release /p:Platform=Win32 /p:PlatformToolset=Windows7.1SDK /m
if errorlevel 1 (
echo Failed to build Win32 Release configuration
exit /b 1
)
rem Set environment for 64-bit build
call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
rem Build the solution for x64
msbuild "VxKex.sln" /p:Configuration=Debug /p:Platform=x64 /p:PlatformToolset=Windows7.1SDK /m
if errorlevel 1 (
echo Failed to build x64 Debug configuration
exit /b 1
)
rem Set environment for 32-bit build
call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x86
rem Build the solution for Win32
msbuild "VxKex.sln" /p:Configuration=Debug /p:Platform=Win32 /p:PlatformToolset=Windows7.1SDK /m
if errorlevel 1 (
echo Failed to build Win32 Debug configuration
exit /b 1
)
echo Build completed successfully for both Win32 and x64 configurations
exit /b 0