Changeset 42 for trunk/Compiler


Ignore:
Timestamp:
Feb 29, 2012, 11:16:44 AM (13 years ago)
Author:
chronos
Message:
  • Added: Targets definition classes.
Location:
trunk/Compiler
Files:
6 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Compiler/Target/UTargets.pas

    r41 r42  
    1414
    1515uses
    16   UTargetInterpretter;
     16  UTargetInterpretter, UTargetDelphi, UTargetPHP, UTargetJava, UTargetXML,
     17  UTargetASM8051, UTargetGCC;
    1718
    1819procedure RegisterTargets(Compiler: TCompiler);
    1920begin
    2021  Compiler.Targets.Add(TTargetInterpretter.Create);
     22  Compiler.Targets.Add(TTargetDelphi.Create);
     23  Compiler.Targets.Add(TTargetPHP.Create);
     24  Compiler.Targets.Add(TTargetJava.Create);
     25  Compiler.Targets.Add(TTargetGCC.Create);
     26  Compiler.Targets.Add(TTargetASM8051.Create);
     27  Compiler.Targets.Add(TTargetXML.Create);
    2128end;
    2229
  • trunk/Compiler/TranspascalCompiler.lpk

    r41 r42  
    99      <PathDelim Value="\"/>
    1010      <SearchPaths>
    11         <OtherUnitFiles Value="Target;Target\Interpretter;Target\ASM8051;Target\Java;Target\GCC;Target\PHP;Target\Delphi;Target\Dynamic C"/>
     11        <OtherUnitFiles Value="Target;Target\Interpretter;Target\ASM8051;Target\Java;Target\GCC;Target\PHP;Target\Delphi;Target\Dynamic C;Target\XML"/>
    1212        <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/>
    1313      </SearchPaths>
     
    2626    </CompilerOptions>
    2727    <Version Minor="1"/>
    28     <Files Count="13">
     28    <Files Count="19">
    2929      <Item1>
    3030        <Filename Value="UCompiler.pas"/>
     
    7979        <UnitName Value="UTargetInterpretter"/>
    8080      </Item13>
     81      <Item14>
     82        <Filename Value="Target\Delphi\UTargetDelphi.pas"/>
     83        <UnitName Value="UTargetDelphi"/>
     84      </Item14>
     85      <Item15>
     86        <Filename Value="Target\PHP\UTargetPHP.pas"/>
     87        <UnitName Value="UTargetPHP"/>
     88      </Item15>
     89      <Item16>
     90        <Filename Value="Target\Java\UTargetJava.pas"/>
     91        <UnitName Value="UTargetJava"/>
     92      </Item16>
     93      <Item17>
     94        <Filename Value="Target\XML\UTargetXML.pas"/>
     95        <UnitName Value="UTargetXML"/>
     96      </Item17>
     97      <Item18>
     98        <Filename Value="Target\ASM8051\UTargetASM8051.pas"/>
     99        <UnitName Value="UTargetASM8051"/>
     100      </Item18>
     101      <Item19>
     102        <Filename Value="Target\GCC\UTargetGCC.pas"/>
     103        <UnitName Value="UTargetGCC"/>
     104      </Item19>
    81105    </Files>
    82106    <Type Value="RunAndDesignTime"/>
  • trunk/Compiler/TranspascalCompiler.pas

    r41 r42  
    1010  UCompiler, USourceCode, UProducer, UProducerASM8051, UProducerDynamicc,
    1111  UProducerPascal, UProducerGCC, UAnalyzer, UAnalyzerPascal, UTarget,
    12   UExecutor, UTargets, UTargetInterpretter, LazarusPackageIntf;
     12  UExecutor, UTargets, UTargetInterpretter, UTargetDelphi, UTargetPHP,
     13  UTargetJava, UTargetXML, UTargetASM8051, UTargetGCC, LazarusPackageIntf;
    1314
    1415implementation
Note: See TracChangeset for help on using the changeset viewer.