9 Include::Include ( const Project
& project_
,
10 const XMLElement
& includeNode
)
19 Include::Include ( const Project
& project_
,
20 const Module
* module_
,
21 const XMLElement
& includeNode
)
42 const XMLAttribute
* att
;
43 att
= node
.GetAttribute("base",false);
47 throw InvalidBuildFileException (
49 "'base' attribute illegal from global <include>" );
50 base
= project
.LocateModule ( att
->value
);
52 throw InvalidBuildFileException (
54 "<include> attribute 'base' references non-existant module '%s'",
56 directory
= FixSeparator ( base
->GetBasePath() + "/" + node
.value
);
59 directory
= FixSeparator ( node
.value
);