* Generate kernel

* Add static library module type
* Add build script for kjs


svn path=/branches/xmlbuildsystem/; revision=12856
This commit is contained in:
Casper Hornstrup
2005-01-06 22:22:13 +00:00
parent b1ec82cd59
commit f7257ee1be
9 changed files with 121 additions and 12 deletions

View File

@@ -40,10 +40,12 @@ FixSeparator ( const string& s )
}
#endif
Module::Module ( const XMLElement& moduleNode,
Module::Module ( Project* project,
const XMLElement& moduleNode,
const string& moduleName,
const string& modulePath )
: node(moduleNode),
: project(project),
node(moduleNode),
name(moduleName),
path(modulePath)
{
@@ -87,6 +89,8 @@ Module::GetModuleType ( const XMLAttribute& attribute )
{
if ( attribute.value == "buildtool" )
return BuildTool;
if ( attribute.value == "staticlibrary" )
return StaticLibrary;
if ( attribute.value == "kernelmodedll" )
return KernelModeDLL;
throw InvalidAttributeValueException ( attribute.name,