diff --git a/reactos/tools/rbuild/backend/codeblocks/codeblocks.cpp b/reactos/tools/rbuild/backend/codeblocks/codeblocks.cpp
index 7e29c1b42a2..09b1b7ead42 100644
--- a/reactos/tools/rbuild/backend/codeblocks/codeblocks.cpp
+++ b/reactos/tools/rbuild/backend/codeblocks/codeblocks.cpp
@@ -302,24 +302,29 @@ CBBackend::_generate_workspace ( FILE* OUT )
for ( size_t i = 0; i < ProjectNode.modules.size(); i++ )
{
Module& module = *ProjectNode.modules[i];
-
- std::string Cbp_file = CbpFileName ( module );
- fprintf ( OUT, "\t\t\r\n", Cbp_file.c_str());
-
- /* dependencies */
- vector ifs_list;
- ifs_list.push_back ( &module.project.non_if_data );
- ifs_list.push_back ( &module.non_if_data );
- while ( ifs_list.size() )
+
+ if ((module.type != Iso) &&
+ (module.type != LiveIso) &&
+ (module.type != IsoRegTest) &&
+ (module.type != LiveIsoRegTest))
{
- const IfableData& data = *ifs_list.back();
- ifs_list.pop_back();
- const vector& libs = data.libraries;
- for ( size_t j = 0; j < libs.size(); j++ )
- fprintf ( OUT, "\t\t\t\r\n", libs[j]->importedModule->GetBasePath().c_str(), libs[j]->name.c_str() );
- }
- fprintf ( OUT, "\t\t\r\n" );
-
+ std::string Cbp_file = CbpFileName ( module );
+ fprintf ( OUT, "\t\t\r\n", Cbp_file.c_str());
+
+ /* dependencies */
+ vector ifs_list;
+ ifs_list.push_back ( &module.project.non_if_data );
+ ifs_list.push_back ( &module.non_if_data );
+ while ( ifs_list.size() )
+ {
+ const IfableData& data = *ifs_list.back();
+ ifs_list.pop_back();
+ const vector& libs = data.libraries;
+ for ( size_t j = 0; j < libs.size(); j++ )
+ fprintf ( OUT, "\t\t\t\r\n", libs[j]->importedModule->GetBasePath().c_str(), libs[j]->name.c_str() );
+ }
+ fprintf ( OUT, "\t\t\r\n" );
+ }
}
fprintf ( OUT, "\t\r\n" );
fprintf ( OUT, "\r\n" );