2.1.98. --[no_]project=filename

The option --project=filename instructs the compiler to load the project template file specified by filename.

Note

To use filename as a default project file, set the RVDS_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.

Syntax

--project=filename
--no_project

Where:

filename

is the name of a project template file.

Restrictions

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.

Example

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

See also

Copyright © 2007, 2010 ARM Limited. All rights reserved.ARM DUI 0348A
Non-Confidential