Keil™, An ARM® Company

Technical Support

µVISION1: GENERATING OBJECT FILES IN SPECIFIC FOLDERS


Information in this article applies to:

  • µVision Version 1
  • C51 Version 5.50

QUESTION

I have several source files in my project and I want the compiler to place the generated object files into a different folder from the source files. How do I achieve that?

ANSWER

In µVision, choose 'Edit Project' from the Projects menu. Select each source file in turn and in the "Object" field enter the path and filename of the object file you wish to be generated.

For example, if you have a source file called 'foo.c' and you wish to place the generated object file into C:\OBJ then perform the following steps:

  1. Choose 'Edit Project' from the Projects menu.
  2. Select 'foo.c'.
  3. Enter C:\OBJ\FOO.OBJ into the Object field.
  4. Click on the Save button.

Last Reviewed: Saturday, July 09, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure