|
|
@@ -14,29 +14,19 @@ if exist compilesettings.bat goto compilesettingsfound
|
|
|
echo ishelp\compilesettings.bat is missing or incomplete. It needs to be created
|
|
|
echo with the following lines, adjusted for your system:
|
|
|
echo.
|
|
|
-echo set DELPHI7ROOT=%%ProgramFiles%%\delphi 7 [Path to Delphi 7 (or later)]
|
|
|
-echo or
|
|
|
echo set DELPHIXEROOT=C:\Program Files\Embarcadero\RAD Studio\20.0 [Path to Delphi 10.3 Rio (or later)]
|
|
|
goto failed2
|
|
|
|
|
|
:compilesettingsfound
|
|
|
-set DELPHI7ROOT=
|
|
|
+set DELPHIXEROOT=
|
|
|
call .\compilesettings.bat
|
|
|
-if not "%DELPHIXEROOT%"=="" goto compilewithdelphixe
|
|
|
-if "%DELPHI7ROOT%"=="" goto compilesettingserror
|
|
|
+if "%DELPHIXEROOT%"=="" goto compilesettingserror
|
|
|
|
|
|
rem -------------------------------------------------------------------------
|
|
|
|
|
|
-echo Compiling ISHelpGen.dpr:
|
|
|
-"%DELPHI7ROOT%\bin\dcc32.exe" -Q -B -H -W %1 -U"%DELPHI7ROOT%\lib" ISHelpGen.dpr
|
|
|
-if errorlevel 1 goto failed
|
|
|
-
|
|
|
-echo Success!
|
|
|
-exit /b 0
|
|
|
-
|
|
|
-:compilewithdelphixe
|
|
|
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
|
|
|
|