1
0
mirror of synced 2024-11-16 12:03:50 +00:00
x2xmldatabinding/X2XMLDataBindingCmdLine.dpr

30 lines
696 B
ObjectPascal
Raw Normal View History

2008-03-09 20:36:27 +00:00
program X2XMLDataBindingCmdLine;
uses
ActiveX,
SysUtils,
DelphiXMLDataBindingGenerator in 'Units\DelphiXMLDataBindingGenerator.pas',
XMLDataBindingGenerator in 'Units\XMLDataBindingGenerator.pas',
XMLDataBindingHelpers in 'Units\XMLDataBindingHelpers.pas',
2008-04-18 14:36:17 +00:00
DelphiXMLDataBindingResources in 'Units\DelphiXMLDataBindingResources.pas';
2008-03-09 20:36:27 +00:00
begin
CoInitialize(nil);
with TDelphiXMLDataBindingGenerator.Create() do
try
OutputType := otSingle;
OutputPath := ParamStr(2);
2008-04-14 19:28:57 +00:00
if DirectoryExists(OutputPath) then
OutputType := otMultiple
else
OutputType := otSingle;
2008-03-09 20:36:27 +00:00
Execute(ParamStr(1));
finally
Free();
end;
end.