mirror of
https://github.com/cc65/cc65.git
synced 2025-02-28 20:29:46 +00:00
Update src/msbuild.cmd script to optionally include Visual Studio 2019 Community build tools
This commit is contained in:
parent
ed9f9ccbab
commit
09862e7ce9
@ -1,2 +1,18 @@
|
||||
@echo off
|
||||
|
||||
if exist "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools\VsDevCmd.bat" goto vs2017
|
||||
if exist "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\VsDevCmd.bat" goto vs2019
|
||||
|
||||
echo Error: VsDevCmd.bat not found!
|
||||
goto:eof
|
||||
|
||||
:vs2017
|
||||
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools\VsDevCmd.bat"
|
||||
goto run
|
||||
|
||||
:vs2019
|
||||
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\Tools\VsDevCmd.bat"
|
||||
goto run
|
||||
|
||||
:run
|
||||
msbuild.exe %*
|
||||
|
Loading…
x
Reference in New Issue
Block a user