| |||
| Home > Compiler Command-line Options > --project=filename, --no_project | |||
The option --project= instructs
the compiler to load the project template file specified by filename.filename
To use as
a default project file, set the filenameRVDS_PROJECT environment
variable to .filename
The option --no_project prevents the default
project template file specified by the environment variable RVDS_PROJECT from
being used.
This option is deprecated.
--project=filename
--no_project
Where:
filenameis the name of a project template file.
If is
unspecified, the compiler faults use of filename --project.
Options from a project template file are only set when they do not conflict with options already set on the command line. If an option from a project template file conflicts with an existing command-line option, the command-line option takes precedence.
Consider the following project template file:
<!-- suiteconf.cfg --> <suiteconf name="Platform Baseboard for ARM926EJ-S"> <tool name="armcc"> <cmdline> --cpu=ARM926EJ-S --fpu=vfpv2 </cmdline> </tool> </suiteconf>
When the RVDS_PROJECT environment variable
is set to point to this file, the command:
armcc -c foo.c
results in an actual command line of:
armcc --cpu=ARM926EJ-S --fpu=VFPv2 -c foo.c