mirror of
https://github.com/gbdev/rgbds.git
synced 2026-05-08 10:59:36 +00:00
2502d130eb
MSBuild is slow, and its output is hard to parse visually (it's all interwoven, like Make without `--output-sync`). Since we use CMake anyway, we don't care about the build system.
5 lines
378 B
Batchfile
5 lines
378 B
Batchfile
@rem From https://github.com/microsoft/vswhere/wiki/Start-Developer-Command-Prompt#using-batch
|
|
for /f "delims=" %%p in ('vswhere.exe -prerelease -latest -property installationPath') do set vspath=%%p
|
|
@rem From https://learn.microsoft.com/en-us/cpp/build/building-on-the-command-line?view=msvc-170#developer_command_file_locations
|
|
call "%vspath%\VC\Auxiliary\Build\vcvars%1.bat"
|