spiegel-keyman/windows/src/buildtools/sentrytool/sentrytool.dpr
Marc Durdin 9066b47320 chore(windows): extract TJCLMapScanner down to separate unit
TJCLMapScanner was the only class used in the entire JCL, in a
build-time project (sentrytool). For now, I have copied this class plus
its handful of dependent functions into Keyman.System.JclMapScanner so
that we can remove 3381 files from the repository.

We do not plan to use JCL in the future.
2022-06-06 07:05:47 +10:00

25 lines
617 B
ObjectPascal

program sentrytool;
{$APPTYPE CONSOLE}
{$R *.res}
uses
System.SysUtils,
Keyman.System.SentryTool.SentryToolMain in 'Keyman.System.SentryTool.SentryToolMain.pas',
Keyman.System.MapToSym in 'Keyman.System.MapToSym.pas',
Keyman.System.AddPdbToPe in 'Keyman.System.AddPdbToPe.pas',
Keyman.System.SentryTool.DelphiSearchFile in 'Keyman.System.SentryTool.DelphiSearchFile.pas',
Keyman.System.JclMapScanner in 'Keyman.System.JclMapScanner.pas';
begin
try
ExitCode := main;
except
on E: Exception do
begin
Writeln(E.ClassName, ': ', E.Message);
ExitCode := 1;
end;
end;
end.