|ARM Technical Support Knowledge Articles|
Applies to: uVision IDE
Information in this article applies to:
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?
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.
Article last edited on: 2005-11-28 16:09:41
Did you find this article helpful? Yes No
How can we improve this article?