mirror of
https://github.com/reactos/reactos.git
synced 2026-09-13 21:29:18 +08:00
added 'first' attribute to <file>
svn path=/branches/xmlbuildsystem/; revision=13129
This commit is contained in:
@@ -102,7 +102,9 @@ Module::ProcessXMLSubElement ( const XMLElement& e,
|
||||
string subpath ( path );
|
||||
if ( e.name == "file" && e.value.size () > 0 )
|
||||
{
|
||||
File* pFile = new File ( FixSeparator ( path + CSEP + e.value ) );
|
||||
const XMLAttribute* att = e.GetAttribute ( "first", false );
|
||||
File* pFile = new File ( FixSeparator ( path + CSEP + e.value ),
|
||||
att != NULL );
|
||||
if ( pIf )
|
||||
pIf->files.push_back ( pFile );
|
||||
else
|
||||
@@ -323,8 +325,8 @@ Module::GetInvocationTarget ( const int index ) const
|
||||
}
|
||||
|
||||
|
||||
File::File ( const string& _name )
|
||||
: name(_name)
|
||||
File::File ( const string& _name, bool _first )
|
||||
: name(_name), first(_first)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user