| 123456789101112131415161718192021222324252627282930313233343536373839 |
- @echo off
- rem Inno Setup
- rem Copyright (C) 1997-2022 Jordan Russell
- rem Portions by Martijn Laan
- rem For conditions of distribution and use, see LICENSE.TXT.
- rem
- rem Batch file to compile ISHelpGen
- setlocal
- if exist compilesettings.bat goto compilesettingsfound
- :compilesettingserror
- echo ishelp\ishelpgen\compilesettings.bat is missing or incomplete. It needs to be created
- echo with the following lines, adjusted for your system:
- echo.
- echo set DELPHIXEROOT=C:\Program Files\Embarcadero\RAD Studio\20.0 [Path to Delphi 10.4 Sydney (or later)]
- goto failed2
- :compilesettingsfound
- set DELPHIXEROOT=
- call .\compilesettings.bat
- if "%DELPHIXEROOT%"=="" goto compilesettingserror
- rem -------------------------------------------------------------------------
- set DELPHIXEDISABLEDWARNINGS=-W-SYMBOL_DEPRECATED -W-SYMBOL_PLATFORM -W-UNSAFE_CAST -W-EXPLICIT_STRING_CAST -W-EXPLICIT_STRING_CAST_LOSS -W-IMPLICIT_INTEGER_CAST_LOSS -W-IMPLICIT_CONVERSION_LOSS
- echo Compiling ISHelpGen.dpr:
- "%DELPHIXEROOT%\bin\dcc32.exe" --no-config -NSsystem;system.win;winapi -Q -B -H -W %DELPHIXEDISABLEDWARNINGS% %1 -U"%DELPHIXEROOT%\lib\win32\release" ISHelpGen.dpr
- if errorlevel 1 goto failed
- echo Success!
- exit /b 0
- :failed
- echo *** FAILED ***
- :failed2
- exit /b 1
|