diff options
author | Brad King <brad.king@kitware.com> | 2001-04-26 19:27:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-04-26 19:27:38 (GMT) |
commit | 61d23149893dcba75115486187a39ce853e091b9 (patch) | |
tree | 64bd472802296213e0189094f3592e28cd25e9fe /Source/cmCableInstantiateCommand.cxx | |
parent | 2c1fb789d7a182ab0df53aad474a657d59d894b0 (diff) | |
download | CMake-61d23149893dcba75115486187a39ce853e091b9.zip CMake-61d23149893dcba75115486187a39ce853e091b9.tar.gz CMake-61d23149893dcba75115486187a39ce853e091b9.tar.bz2 |
ENH: Changed WriteConfiguration to non-const so it can do error checking. Added parsing and output of a name for each WrapperSet generated from a CABLE_WRAP command.
Diffstat (limited to 'Source/cmCableInstantiateCommand.cxx')
-rw-r--r-- | Source/cmCableInstantiateCommand.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmCableInstantiateCommand.cxx b/Source/cmCableInstantiateCommand.cxx index 629e6da..09483bb 100644 --- a/Source/cmCableInstantiateCommand.cxx +++ b/Source/cmCableInstantiateCommand.cxx @@ -22,7 +22,7 @@ /** * Write the CABLE configuration code to define this InstantiationSet. */ -void cmCableInstantiateCommand::WriteConfiguration() const +bool cmCableInstantiateCommand::WriteConfiguration() { std::ostream& os = m_CableData->GetOutputStream(); cmCableData::Indentation indent = m_CableData->GetIndentation(); @@ -45,4 +45,6 @@ void cmCableInstantiateCommand::WriteConfiguration() const os << "</Element>" << std::endl; } os << indent << "</InstantiationSet>" << std::endl; + + return true; } |