summaryrefslogtreecommitdiffstats
path: root/Source/cmCableWrapTclCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-05-21 20:21:27 (GMT)
committerBrad King <brad.king@kitware.com>2001-05-21 20:21:27 (GMT)
commit7727c7ef9641fd8828cfd8d5393d879ddabc4228 (patch)
tree8681a7e35bf9ea095bd23ae3b8eb2bfb2b037b2f /Source/cmCableWrapTclCommand.cxx
parentc1086a9524399c3e16acf85d5180eeab92c78583 (diff)
downloadCMake-7727c7ef9641fd8828cfd8d5393d879ddabc4228.zip
CMake-7727c7ef9641fd8828cfd8d5393d879ddabc4228.tar.gz
CMake-7727c7ef9641fd8828cfd8d5393d879ddabc4228.tar.bz2
ENH: Converted to new Class and Group tags in place of WrapperSet and Groups tags.
Diffstat (limited to 'Source/cmCableWrapTclCommand.cxx')
-rw-r--r--Source/cmCableWrapTclCommand.cxx10
1 files changed, 3 insertions, 7 deletions
diff --git a/Source/cmCableWrapTclCommand.cxx b/Source/cmCableWrapTclCommand.cxx
index b7d5f4a..22286b3 100644
--- a/Source/cmCableWrapTclCommand.cxx
+++ b/Source/cmCableWrapTclCommand.cxx
@@ -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();