forked from Frank-Friemel/Shairport4w
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuildall.bat
43 lines (28 loc) · 859 Bytes
/
buildall.bat
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
@title "Shairport4w - Rebuild all"
@echo "Shairport4w - Rebuild all"
@echo:
@echo "VS 2019 required"
@echo:
@if "%PROCESSOR_ARCHITECTURE%"=="x86" set DIR=%ProgramFiles%
@if "%PROCESSOR_ARCHITECTURE%"=="AMD64" set DIR=%ProgramFiles(x86)%
@call "%DIR%\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvars32.bat"
echo:
echo "Debug x86"
echo:
MSBuild /nologo .\src\Shairport4w.vcxproj /t:Rebuild /p:Configuration=Debug;Platform=x86
echo:
echo "Release x86"
echo:
MSBuild /nologo .\src\Shairport4w.vcxproj /t:Rebuild /p:Configuration=Release;Platform=x86
echo:
echo "Debug x64"
echo:
MSBuild /nologo .\src\Shairport4w.vcxproj /t:Rebuild /p:Configuration=Debug;Platform=x64
echo:
echo "Release x64"
echo:
MSBuild /nologo .\src\Shairport4w.vcxproj /t:Rebuild /p:Configuration=Release;Platform=x64
echo:
echo "Build finished."
echo:
pause