mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 23:13:04 +00:00
Factories for Backend creation
svn path=/branches/xmlbuildsystem/; revision=12845
This commit is contained in:
parent
8051633a4c
commit
477157b4d4
11 changed files with 176 additions and 46 deletions
|
@ -27,8 +27,9 @@ Module::~Module ()
|
|||
delete libraries[i];
|
||||
}
|
||||
|
||||
void Module::ProcessXML ( const XMLElement& e,
|
||||
const string& path )
|
||||
void
|
||||
Module::ProcessXML ( const XMLElement& e,
|
||||
const string& path )
|
||||
{
|
||||
string subpath ( path );
|
||||
if ( e.name == "file" && e.value.size () )
|
||||
|
@ -49,7 +50,8 @@ void Module::ProcessXML ( const XMLElement& e,
|
|||
ProcessXML ( *e.subElements[i], subpath );
|
||||
}
|
||||
|
||||
ModuleType Module::GetModuleType ( const XMLAttribute& attribute )
|
||||
ModuleType
|
||||
Module::GetModuleType ( const XMLAttribute& attribute )
|
||||
{
|
||||
if ( attribute.value == "buildtool" )
|
||||
return BuildTool;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue