mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
18 lines
554 B
Batchfile
18 lines
554 B
Batchfile
@echo off
|
|
|
|
set DOWNLOAD_URL=https://aka.ms/vs/17/release
|
|
|
|
mkdir tmp 2> NUL
|
|
|
|
if not exist "tmp\vs_buildtools.exe" (
|
|
bitsadmin /transfer /download /priority foreground %DOWNLOAD_URL%/vs_buildtools.exe %CD%\tmp\vs_buildtools.exe
|
|
)
|
|
|
|
echo Preparing Build Tools, please wait...
|
|
tmp\vs_BuildTools.exe --quiet --wait --layout tmp\ --add Microsoft.VisualStudio.Component.Windows10SDK.19041
|
|
|
|
echo Installing Build Tools, please wait...
|
|
tmp\vs_BuildTools.exe --quiet --wait --noweb --add Microsoft.VisualStudio.Component.Windows10SDK.19041
|
|
|
|
REM rmdir tmp /s /q
|