Previous: Dependency Related Attributes, Up: Package Compiler [Contents][Index]
Specifies the option or options to use when invoking the compiler to indicate that a directory is part of the source search path. The value of this attribute is a string list. The full path name of the directory is concatenated with the last string in the string list, which may be empty. Example:
for Include_Switches ("C") use ("-I");
Attribute Include_Switches
is ignored if either one of the attributes
Include_Path
or Include_Path_File
are specified.
Specifies the name of an environment variable that is used by the compiler to get the source search path. The value of the environment variable is the source search path to be used by the compiler. Example:
for Include_Path ("C") use "CPATH"; for Include_Path ("Ada") use "ADA_INCLUDE_PATH";
Attribute Include_Path
is ignored if attribute Include_Path_File
is declared
for the language.
Specifies the name of an environment variable that is used by the compiler to get the source search path. The value of the environment variable is the path name of a text file that contains the path names of the directories of the source search path. Example:
for Include_Path_File ("Ada") use "ADA_PRJ_INCLUDE_FILE";