config Main.usage // module-wide |
|
usage help message
XDCscript usage |
meta-domain |
Main.usage = String[] [
'[-v|--help]',
'[-@ optionsfile] [--xp xdcpath]',
'[-b config_bld | -c codegen_dir | --cb]',
'[-t target] [-p platform[:instance]] [-r profile]',
'[-Dname=value] [--tcf] [--bios5]',
'[-w|-x regexp]',
'[-o outdir] infile.cfg'
];
Main.exec( ) // module-wide |
|
'xs' script entry point
XDCscript usage |
meta-domain |
Main.exec( Any args ) returns Any
Main.main( ) // module-wide |
|
'xs' shell entry point
XDCscript usage |
meta-domain |
Main.main( Any args ) returns Any
per-instance config parameters |
|
XDCscript usage |
meta-domain |
var params = new Main.Params;
// Instance config-params object
params.bios5Incs = Bool false;
// Add "include" directory from pacakge "ti.bios" to compiler options
params.configbld = String null;
// config.bld file name
params.defines = String[] [ ];
// set Java properties in the configuration environment
params.exclude = String null;
// exclude packages from compatibility checking
params.hasTconf = Bool false;
// Process infile.tcf in addition to infile.cfg
params.output = String null;
// name of the output directory
params.platform = String null;
// the platform to use
params.profile = String 'release';
// build profile to use
params.rootdir = String null;
// root directory of the code generation tools
params.searchForConfigBld = Bool false;
// Use a config.bld found along the package path
params.target = String null;
// target module
params.verbose = Bool false;
// show details during build
params.warn = Bool false;
// incompatibilites are treated only as warnings
params.xdcPath = String[] [ ];
// XDC path
params.xdcPathsFile = String null;
// name of the text file containing xdc paths
config Main.bios5Incs // per-instance |
|
Add "include" directory from pacakge "ti.bios" to compiler options
XDCscript usage |
meta-domain |
var params = new Main.Params;
...
params.bios5Incs = Bool false;
config Main.configbld // per-instance |
|
config.bld file name
XDCscript usage |
meta-domain |
var params = new Main.Params;
...
params.configbld = String null;
DETAILS
The path to the user's config.bld. Replaces ROOTDIR.
config Main.defines // per-instance |
|
set Java properties in the configuration environment
XDCscript usage |
meta-domain |
var params = new Main.Params;
...
params.defines = String[] [ ];
DETAILS
-Dconfig.importPath is treated specially -- these directories are
added to the end of the package path.
config Main.exclude // per-instance |
|
exclude packages from compatibility checking
XDCscript usage |
meta-domain |
var params = new Main.Params;
...
params.exclude = String null;
DETAILS
A list of regular expressions used to select packages that should
be excluded from the set of packages checked during configuration.
SEE
config Main.hasTconf // per-instance |
|
Process infile.tcf in addition to infile.cfg
XDCscript usage |
meta-domain |
var params = new Main.Params;
...
params.hasTconf = Bool false;
config Main.output // per-instance |
|
name of the output directory
XDCscript usage |
meta-domain |
var params = new Main.Params;
...
params.output = String null;
config Main.platform // per-instance |
|
the platform to use
XDCscript usage |
meta-domain |
var params = new Main.Params;
...
params.platform = String null;
DETAILS
If undefined, the default platform for the XDC build target
named.
config Main.profile // per-instance |
|
build profile to use
XDCscript usage |
meta-domain |
var params = new Main.Params;
...
params.profile = String 'release';
DETAILS
The name of the build profile to use for the XDC content, for
example 'release' or 'debug'. The list of allowed profiles is
determined by the XDC build target named.
config Main.rootdir // per-instance |
|
root directory of the code generation tools
XDCscript usage |
meta-domain |
var params = new Main.Params;
...
params.rootdir = String null;
DETAILS
The path to the installation directory of the compiler and linker.
config Main.searchForConfigBld // per-instance |
|
Use a config.bld found along the package path
XDCscript usage |
meta-domain |
var params = new Main.Params;
...
params.searchForConfigBld = Bool false;
config Main.target // per-instance |
|
target module
XDCscript usage |
meta-domain |
var params = new Main.Params;
...
params.target = String null;
DETAILS
The name of an XDC build target module to use, for example
ti.targets.C64P. If no target is named, the target used is
Build.targets[0], from config.bld.
config Main.verbose // per-instance |
|
show details during build
XDCscript usage |
meta-domain |
var params = new Main.Params;
...
params.verbose = Bool false;
config Main.warn // per-instance |
|
incompatibilites are treated only as warnings
XDCscript usage |
meta-domain |
var params = new Main.Params;
...
params.warn = Bool false;
DETAILS
If set to "true", force any incompatibilities detected to be
treated as warnings only; otherwise incompatibilities are fatal.
SEE
config Main.xdcPath // per-instance |
|
XDC path
XDCscript usage |
meta-domain |
var params = new Main.Params;
...
params.xdcPath = String[] [ ];
Main.gen( ) // per-instance |
|
Generate and build the configuration package
XDCscript usage |
meta-domain |
inst.gen( String infile ) returns Int
Main.run( ) // per-instance |
|
Underlying implementation
XDCscript usage |
meta-domain |