ARM Technical Support Knowledge Articles

EXCLUDING FILES FROM A TARGET

Applies to: uVision IDE

Answer


Information in this article applies to:


QUESTION

I have a project that I need to generate for two different platforms with different layouts. Each platform needs a different library (for example A.LIB and B.LIB).

In uVision, is there a way to include some files in one target but not in another?

ANSWER

Yes, uVision supports Project Targets which are various configurations of a single project.

Project Targets are created with Project - Components, Environment and Books - Project Components. You need to add all files that belong to your project even when they should be excluded in some Project Targets.

Source Files or Groups can be excluded from a Project Target in the Options dialog that is available in the context menu of the Project Workspace - Files tab. Right click on a file or file group and open the dialog Options - Properties. Disable the option Include in Target Build which excludes files from being compiled or linked.

MORE INFORMATION

SEE ALSO

Article last edited on: 2005-11-28 16:09:41

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential