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

Untitled Document

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

Project File Packages

A GNAT tool integrated with the Project Manager is modeled by a corresponding package in the project file. The Debug project defines the packages Builder (for gnatmake) and Compiler; the Release project defines only the Compiler package.

The Ada package syntax is not to be taken literally. Although packages in project files bear a surface resemblance to packages in Ada source code, the notation is simply a way to convey a grouping of properties for a named entity. Indeed, the package names permitted in project files are restricted to a predefined set, corresponding to the project-aware tools, and the contents of packages are limited to a small set of constructs. The packages in the example above contain attribute definitions.

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