www.delorie.com/gnu/docs/gcc/gnat_ug_105.html   search  
 
Buy the book!


Untitled Document

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

Specifying the Object Directory

Several project properties are modeled by Ada-style attributes; you define the property by supplying the equivalent of an Ada attribute definition clause in the project file. A project's object directory is such a property; the corresponding attribute is Object_Dir, and its value is a string expression. A directory may be specified either as absolute or as relative; in the latter case, it is relative to the project file directory. Thus the compiler's output is directed to `/common/debug' (for the Debug project) and to `/common/release' (for the Release project). If Object_Dir is not specified, then the default is the project file directory.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003