Next: Project File Packages, Previous: Specifying the Object Directory, Up: Common Sources with Different Switches and Directories
A project's exec directory is another property; the corresponding
attribute is Exec_Dir
, and its value is also a string expression,
either specified as relative or absolute. If Exec_Dir
is not specified,
then the default is the object directory (which may also be the project file
directory if attribute Object_Dir
is not specified). Thus the executable
is placed in /common/debug
for the Debug
project (attribute Exec_Dir
not specified)
and in /common for the Release
project.