Build actions and Argument variables

Technical Note 68992

Targets:
All

Component:
IDE

Updated:
4/25/2012 9:04 AM

Introduction

  • My Argument variables are not evaluated as I expect.
    or
  • I want shorter/relative paths for my build actions.

Solution

Try using Argument variables in the text box specifying the build action.

Background

Argument variables (See Help > IDE Project Management and Building Guide for more info, including list of available ones) allow certain paths to be relative.

Argument variables are not Environment Variables, e.g., they are not automatically available for evaluation inside scripts.

Example

See Technical Note 95375 where part of the solution is to use a build action.

Related Tech Notes

© IAR Systems 1995-2016 - All rights reserved.