mirror of
https://github.com/cc65/cc65.git
synced 2025-01-05 15:30:44 +00:00
19 lines
532 B
Batchfile
19 lines
532 B
Batchfile
@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 %*
|