Passant* - Pascal Ant Tasks
Home License SourceForge Documents Links
Reference

The following is a list of all options supported by Passant, along with the equivalent dcc switches and IDE settings.

The default are chosen to closely match the default settings of the IDE. There are a few exceptions such as range checking and overflow checking which default to enabled.

Passant SettingDcc switchDelphi Setting
unitdirs Directories/Conditionals - Library -I
String. The directories to search for unit files.
compiler    
String. Either Kylix1, Kylix2, Kylix3, Delphi5, Delphi6, or Delphi7. This is used to find the correct dcc application. If unspecified (the default) it is assumed to be on the path.
executable    
String. The name and optionally the path to the appropriate dcc application. It is blank by default, in which case "dcc" will be used on Linux and "dcc32.exe" on Windows. If the compiler option (above) is unspecified then the executable option can include a full path. If the compiler option is specified, then the executable option will be set to one of the following:
  • C:\Program Files\Borland\{compiler}\bin\dcc32.exe
  • /usr/local/{compiler}/bin/dcc
  • baseDir    
    String. This is typically set to the directory containing the DPR/DPK files to be compiled. If not specified by the user it will set to project.getBaseDir.
    projectFile    
    String. The name of the DPK or DPR file to be compiled.
    backupConfig    
    Boolean. Determines if the config file (project.cfg) should be backed up.
    dcuDir    
    String. The unit output directory.
    exeDir    
    String. The output directory.
    packageDir    
    String.
    packageSourceDir    
    String
    aliases    
    String. Defines the standard unit aliases. Default is "WinTypes=Windows; WinProcs=Windows; DbiTypes=BDE; DbiProcs=BDE; DbiErrs=BDE";
    alignment    
    String. Byte alignment. Default is 8.
    defines    
    String. Conditional defines. Default is blank.
    enumS    
    1, 2, or 4. The number of bytes used for an enumeration. The default is 1.
    hints    
    Either "true", "false", or "fail". If false, hints will not be displayed. If true, hints will be displayed. If fail, hints will be displayed and will abort the build. Default is true.
    warnings    
    Either "true", "false", or "fail". If false, warnings will not be displayed. If true, warnings will be displayed. If fail, warnings will be displayed and will abort the build. Default is true.
    map    
    Either "none", "segments", "public" or "detailed". Determines how much information the map file contains.
    resourceReserve    
    Integer. Default is 1048576.
    symbols    
    String. "true", "false", or "defsonly". The default is "defsonly";
    includeDirs    
    String. The directories to search for include files.
    objectDirs    
    String. The directories to search for.
    resourceDirs    
    String. The directories to search for resource files.
    assertions    
    Boolean. The default is true.
    boolEval    
    Boolean. Whether or not full boolean evaluation should be used. The default is false (ie: short circuit boolean evaluation will be used).
    build    
    Boolean. The default is true.
    make    
    Boolean. The default is false.
    debugInfo    
    Boolean. The default is false.
    debugInfoInExe    
    Boolean. The default is false.
    extendedSyntax    
    Boolean. The default is true.
    generatePic    
    Boolean. Generate position independant code. The default is false.
    importedData    
    Boolean. The default is true.
    ioChecks    
    Boolean. The default is true.
    localSymbols    
    Boolean. The default is true.
    longStrings    
    Boolean. The default is true.
    openStrings    
    Boolean. The default is true.
    optimization    
    Boolean. The default is true.
    outputNeverBuild    
    Boolean. The default is false.
    overflowChecks    
    Boolean. The default is true.
    quiet    
    Boolean. The default is true.
    rangeChecks    
    Boolean. The default is true.
    remoteDebugInfo    
    Boolean. The default is false.
    stackFrames    
    Boolean. The default is false.
    typeInfo    
    Boolean. The default is false.
    typedAddress    
    Boolean. The default is false.
    varStringChecks    
    Boolean. The default is true.
    writeableConst    
    Boolean. The default is false.

    SourceForge.net Logo