ENH: Converted to new Class and Group tags in place of WrapperSet and Groups tags.

This commit is contained in:
Brad King 2001-05-21 16:21:27 -04:00
parent c1086a9524
commit 7727c7ef96
1 changed files with 3 additions and 7 deletions

View File

@ -118,15 +118,13 @@ void cmCableWrapTclCommand::GenerateCableFiles() const
if(packageConfig)
{
packageConfig <<
"<CableConfiguration package=\"" << m_TargetName.c_str() << "\">\n"
" <Groups>\n";
"<CableConfiguration package=\"" << m_TargetName.c_str() << "\">\n";
for(unsigned int i=0; i < m_CableClassSet->Size(); ++i)
{
packageConfig <<
" " << m_TargetName.c_str() << "_" << i << "\n";
" <Group name=\"" << m_TargetName.c_str() << "_" << i << "\"/>\n";
}
packageConfig <<
" </Groups>\n"
"</CableConfiguration>\n";
packageConfig.close();
@ -203,9 +201,7 @@ void cmCableWrapTclCommand::GenerateCableClassFiles(const char* name,
" <Header name=\"" << source->c_str() << "\"/>\n";
}
classConfig <<
" <WrapperSet>\n"
" _wrap_::wrapper::Wrapper\n"
" </WrapperSet>\n"
" <Class name=\"_wrap_::wrapper::Wrapper\"/>\n"
"</CableConfiguration>\n";
classConfig.close();