updated createconfig.pp

This commit is contained in:
mattias 2019-03-03 13:50:24 +00:00
parent 35f8f4a67b
commit 64429404a3

View File

@ -9,8 +9,7 @@ Var
F : Text; F : Text;
CfgFile : String; CfgFile : String;
BaseDir : String; BaseDir : String;
Procedure AddLn(S : String); Procedure AddLn(S : String);
begin begin
@ -46,29 +45,26 @@ begin
Addln('# Minimal config file for pas2js compiler'); Addln('# Minimal config file for pas2js compiler');
Addln('#'); Addln('#');
Addln(''); Addln('');
Addln('# not yet implemented: -d is the same as #DEFINE'); Addln('# -d is the same as #DEFINE');
Addln('# not yet implemented: -u is the same as #UNDEF'); Addln('# -u is the same as #UNDEF');
Addln(''); Addln('');
Addln('# Write always a nice logo ;)'); Addln('# Write always a nice logo ;)');
Addln('-l'); Addln('-l');
Addln(''); Addln('');
Addln('# Display Hints, Warnings and Notes'); Addln('# Display Warnings, Notes and Hints');
Addln('-vwnh'); Addln('-vwnh');
Addln('# If you don''t want so much verbosity use'); Addln('# If you don''t want so much verbosity use');
Addln('#-vw'); Addln('#-vw');
Addln(''); Addln('');
Addln('-Fu$CfgDir/'+BASEDIR+'/packages/rtl'); Addln('-Fu$CfgDir/'+BASEDIR+'/packages/*');
Addln('-Fu$CfgDir/'+BASEDIR+'/packages/fcl-base');
Addln('-Fu$CfgDir/'+BASEDIR+'/packages/fcl-db');
Addln('-Fu$CfgDir/'+BASEDIR+'/packages/fpcunit');
Addln(''); Addln('');
Addln('#IFDEF nodejs'); Addln('#IFDEF nodejs');
Addln('-Jirtl.js'); Addln('-Jirtl.js');
Addln('#ENDIF'); Addln('#ENDIF');
Addln(''); Addln('');
Addln('# end.'); Addln('# Put all generated JavaScript into one js file:');
Addln('EOCF'); Addln('-Jc');
Addln(''); Addln('');
Addln('# end'); Addln('# end.');
Close(F); Close(F);
end. end.