Node: Switches Related to Project Files, Next: Tools Supporting Project Files, Previous: Library Projects, Up: GNAT Project Manager
The following switches are used by GNAT tools that support project files:
-P
project
-vP
x
, if any, and using the external
references indicated by -X
switches, if any.
There must be only one -P
switch on the command line.
Since the Project Manager parses the project file only after all the switches
on the command line are checked, the order of the switches -P
,
-Vp
x or
-X
is not significant.
-X
name=value
external(name)
when parsing the project file.
If name or value includes a space, then name=value should be put between quotes.
-XOS=NT -X"user=John Doe"
Several -X
switches can be used simultaneously.
If several -X
switches specify the same name, only the last one
is used.
An external variable specified with a -X
switch takes precedence
over the value of the same name in the environment.
-vP
x
-vP0
means Default (no output for syntactically correct project
files);
-vP1
means Medium;
-vP2
means High.
The default is Default.
If several -vP
x switches are present, only the last one is
used.