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.h | |
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.h')
-rw-r--r-- | Source/cmCableData.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Source/cmCableData.h b/Source/cmCableData.h index afa7985..f3788d7 100644 --- a/Source/cmCableData.h +++ b/Source/cmCableData.h @@ -71,6 +71,9 @@ public: void BeginPackage(cmCablePackageCommand*); void EndPackage(); + void SetPackageClassIndex(int index) { m_PackageClassIndex = index; } + int GetPackageClassIndex() const { return m_PackageClassIndex; } + private: /** * The cmCableCommand which created this instance of cmCableCommand. @@ -102,6 +105,13 @@ private: * This must be the level when the package is ended. */ unsigned int m_PackageNamespaceDepth; + + /** + * During the final pass, this maintains the index into a cmMakefile's + * m_Classes corresponding to the cmClassFile for this package's generated + * file. + */ + int m_PackageClassIndex; }; std::ostream& operator<<(std::ostream&, const cmCableData::Indentation&); |