systype.bat

borland/systype.bat · 640 B

From the archive genesis-1.1.12-borland-build.zip

Download the archive   « Back to the archive contents

@echo off
echo Building system type configuration information...
setlocal enableextensions
set SYSINC=%CD%\systype.h
set SYSCFG=%CD%\systype.cfg
set CPU=i%PROCESSOR_LEVEL%86
set VENDOR=pc
set SYSTEM=bcc55win32
>  %SYSINC% echo #ifndef cdc_systype_h
>> %SYSINC% echo #define cdc_systype_h
>> %SYSINC% echo #define SYSTEM_TYPE "%CPU%-%VENDOR%-%SYSTEM%"
>> %SYSINC% echo #define sys_%SYSTEM% 
>> %SYSINC% echo #define vendor_%VENDOR% 
>> %SYSINC% echo #define cpu_%CPU% 
>> %SYSINC% echo #endif
>  %SYSCFG% echo SYS=%SYSTEM%
>> %SYSCFG% echo CPU=%CPU%
>> %SYSCFG% echo VENDOR=%VENDOR%
echo %CPU%-%VENDOR%-%SYSTEM%
endlocal

Site Stats

Snippets: 1791
Codebases: 571