mirror of
https://github.com/reactos/reactos.git
synced 2026-09-13 21:29:18 +08:00
* Generate kernel
* Add static library module type * Add build script for kjs svn path=/branches/xmlbuildsystem/; revision=12856
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user