PackageSuperCore.pas 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. $Project$
  3. $Workfile$
  4. $Revision$
  5. $DateUTC$
  6. $Id$
  7. This file is part of the Indy (Internet Direct) project, and is offered
  8. under the dual-licensing agreement described on the Indy website.
  9. (http://www.indyproject.org/)
  10. Copyright:
  11. (c) 1993-2005, Chad Z. Hower and the Indy Pit Crew. All rights reserved.
  12. }
  13. {
  14. $Log$
  15. }
  16. {
  17. { Rev 1.1 04/09/2004 12:45:44 ANeillans
  18. { Moved the databasename and output paths into a globally accessible variable
  19. { -- makes it a lot easier to override if you need to (as I did for my local
  20. { file structure).
  21. }
  22. {
  23. { Rev 1.0 2004.06.02 3:19:56 PM czhower
  24. { Initial Checkin
  25. }
  26. {
  27. { Rev 1.0 2004.02.08 2:28:38 PM czhower
  28. { Initial checkin
  29. }
  30. {
  31. { Rev 1.0 2004.01.22 8:18:34 PM czhower
  32. { Initial checkin
  33. }
  34. unit PackageSuperCore;
  35. interface
  36. uses
  37. Package;
  38. type
  39. TPackageSuperCore = class(TPackage)
  40. public
  41. procedure Generate(ACompiler: TCompiler); override;
  42. end;
  43. implementation
  44. uses
  45. DModule;
  46. { TPackageSuperCore }
  47. procedure TPackageSuperCore.Generate(ACompiler: TCompiler);
  48. begin
  49. inherited;
  50. FName := 'IndySuperCore' + GCompilerID[Compiler];
  51. FDesc := 'SuperCore';
  52. GenHeader;
  53. GenOptions;
  54. Code('');
  55. Code('requires');
  56. Code(' rtl,');
  57. Code(' IndySystem' + GCompilerID[Compiler] + ',');
  58. Code(' IndyCore' + GCompilerID[Compiler] + ';');
  59. GenContains;
  60. WriteFile(DM.OutputPath + '\Lib\SuperCore\');
  61. end;
  62. end.