1
0
mirror of https://github.com/simh/simh.git synced 2026-01-25 19:56:25 +00:00

Visual Studio Projects: Correct file name capitalization in IBM1130 project

Allow dynamic input of source code checking parameters.
This commit is contained in:
Mark Pizzolato
2023-06-20 14:42:50 -10:00
parent 444cf9d215
commit 3c0d7385e1
2 changed files with 16 additions and 15 deletions

View File

@@ -66,7 +66,7 @@ set _project_linedeps="%~dp0%~n2.linedeps"
findstr RelativePath "%_project_file%" | findstr /C:.c | findstr /C:windows-build /V > %_project_deps%
for /F "usebackq tokens=2 delims==" %%f in (`type %_project_deps%`) do @echo %%f>>%_project_linedeps%
set _deps_switches=
if exist "%_script_name%.Run-Source-Check-Switches" set _deps_switches=-DV
if exist "%_script_name%.Run-Source-Check-Switches" for /f "usebackq eol=; tokens=1*" %%i in ("%_script_name%.Run-Source-Check-Switches") do set _deps_switches=%%i
set _deps_line=
for /F "usebackq tokens=2 delims==" %%f in (`type %_project_deps%`) do set _deps_line=!_deps_line! %%f
del %_project_deps%
@@ -74,3 +74,4 @@ del %_project_linedeps%
echo Checking Source in %~n2 simulator...
%2 %_deps_switches% CheckSourceCode %_deps_line%
set _deps_line=
if errorlevel 1 exit /B 1