From ec1f57d120309c50f9dea60e8cbab1755213d52a Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Fri, 9 Jan 2015 13:50:29 -0800 Subject: [PATCH] BESM6: Revised windows build to add SDL support to provide the besm6_panel interface. --- Visual Studio Projects/BESM6.vcproj | 24 ++++++------- Visual Studio Projects/Pre-Build-Event.cmd | 41 +++++++++++++++++----- 2 files changed, 44 insertions(+), 21 deletions(-) diff --git a/Visual Studio Projects/BESM6.vcproj b/Visual Studio Projects/BESM6.vcproj index 99ff13d2..5f2349ab 100644 --- a/Visual Studio Projects/BESM6.vcproj +++ b/Visual Studio Projects/BESM6.vcproj @@ -26,8 +26,8 @@ > %_X_FontIncludeName%.temp +set FONTFILE=%windir%\Fonts\%_X_FontName% +if not exist "%FONTFILE%" echo Can't find font %_X_FontName% +if not exist "%FONTFILE%" goto _done_findfont +set FONTFILE=%FONTFILE:\=/% +echo #define FONTFILE %FONTFILE% >>%_X_FontIncludeName%.temp +if not exist %_X_FontIncludeName% goto _found_font +fc %_X_FontIncludeName%.temp %_X_FontIncludeName% >NUL +if NOT ERRORLEVEL 1 goto _done_findfont +:_found_font +echo Found: %FONTFILE% +move /Y %_X_FontIncludeName%.temp %_X_FontIncludeName% >NUL +:_done_findfont +if exist %_X_FontIncludeName%.temp del %_X_FontIncludeName%.temp goto _done_build :_notice1 echo *****************************************************