diff options
author | Brad King <brad.king@kitware.com> | 2001-03-08 21:13:27 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-03-08 21:13:27 (GMT) |
commit | 71153219e19446350006f84e0b712e912bb0e291 (patch) | |
tree | 8a316ed37e6ba9392373ee0900caab3e2ac6c9e8 /Source/cmCableData.cxx | |
parent | 02fe9118038019e05320081d893340a659f8daa3 (diff) | |
download | CMake-71153219e19446350006f84e0b712e912bb0e291.zip CMake-71153219e19446350006f84e0b712e912bb0e291.tar.gz CMake-71153219e19446350006f84e0b712e912bb0e291.tar.bz2 |
ENH: Added creation of custom rules for generating CABLE packages.
Diffstat (limited to 'Source/cmCableData.cxx')
-rw-r--r-- | Source/cmCableData.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmCableData.cxx b/Source/cmCableData.cxx index 0e833ee..7fadb41 100644 --- a/Source/cmCableData.cxx +++ b/Source/cmCableData.cxx @@ -27,7 +27,8 @@ cmCableData::cmCableData(const cmCableCommand* owner, m_Owner(owner), m_Indentation(0), m_Package(NULL), - m_PackageNamespaceDepth(0) + m_PackageNamespaceDepth(0), + m_PackageClassIndex(-1) { this->OpenOutputFile(configurationFile); } @@ -167,6 +168,9 @@ void cmCableData::BeginPackage(cmCablePackageCommand* command) // Open this package. m_Package = command; + // Write out the package's header. + m_Package->WritePackageHeader(); + // Save the package's opening namespace depth for later verification // on the end of the package. m_PackageNamespaceDepth = m_NamespaceStack.size(); |