X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Ftools%2Frbuild%2Fmodule.cpp;h=6ab6c4940e7ac74836f540575fb4f584919518e8;hp=d852224d2450f0364a4b8652b083d3bf6c6c8850;hb=f540600448ac4337c34524d1e55fbf3a29b57ada;hpb=c3644e01e94fb323fb074f36fd83429b2ed9a5a4;ds=inline diff --git a/reactos/tools/rbuild/module.cpp b/reactos/tools/rbuild/module.cpp index d852224d245..6ab6c4940e7 100644 --- a/reactos/tools/rbuild/module.cpp +++ b/reactos/tools/rbuild/module.cpp @@ -939,6 +939,8 @@ Module::GetModuleType ( const string& location, const XMLAttribute& attribute ) return EmbeddedTypeLib; if ( attribute.value == "elfexecutable" ) return ElfExecutable; + if ( attribute.value == "cabinet" ) + return Cabinet; throw InvalidAttributeValueException ( location, attribute.name, attribute.value ); @@ -970,6 +972,7 @@ Module::GetTargetDirectoryTree () const case LiveIsoRegTest: case EmbeddedTypeLib: case ElfExecutable: + case Cabinet: return OutputDirectory; case StaticLibrary: case HostStaticLibrary: @@ -1019,6 +1022,8 @@ Module::GetDefaultModuleExtension () const case KernelModeDriver: case BootLoader: return ".sys"; + case Cabinet: + return ".cab"; case BootSector: return ".o"; case Iso: @@ -1092,6 +1097,7 @@ Module::GetDefaultModuleEntrypoint () const case IdlHeader: case ElfExecutable: case EmbeddedTypeLib: + case Cabinet: return ""; case TypeDontCare: break; @@ -1140,6 +1146,7 @@ Module::GetDefaultModuleBaseaddress () const case BootProgram: case IdlHeader: case EmbeddedTypeLib: + case Cabinet: return ""; case TypeDontCare: break; @@ -1189,6 +1196,7 @@ Module::IsDLL () const case IdlHeader: case EmbeddedTypeLib: case ElfExecutable: + case Cabinet: return false; case TypeDontCare: break;