Add bootstrap tag to specify that files are to be copied to the CD
[reactos.git] / reactos / tools / rbuild / module.cpp
index 47157e4..1ee50a5 100644 (file)
@@ -55,7 +55,8 @@ Module::Module ( const Project& project,
                  const string& modulePath )\r
        : project (project),\r
          node (moduleNode),\r
-         importLibrary (NULL)\r
+         importLibrary (NULL),\r
+         bootstrap (NULL)\r
 {\r
        if ( node.name != "module" )\r
                throw Exception ( "internal tool error: Module created with non-<module> node" );\r
@@ -261,6 +262,11 @@ Module::ProcessXMLSubElement ( const XMLElement& e,
                        e.location,\r
                        "<property> is not a valid sub-element of <module>" );\r
        }\r
+       else if ( e.name == "bootstrap" )\r
+       {\r
+               bootstrap = new Bootstrap ( project, this, e );\r
+               subs_invalid = true;\r
+       }\r
        if ( subs_invalid && e.subElements.size() > 0 )\r
                throw InvalidBuildFileException (\r
                        e.location,\r