diff options
author | Brad King <brad.king@kitware.com> | 2001-02-27 21:28:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-02-27 21:28:56 (GMT) |
commit | 711c652edbc47e123a22878e39a4944b31e4708e (patch) | |
tree | 771e17e651b09144265b41fae290aa779dfa7d82 /Source/cmCableDefineSetCommand.h | |
parent | 41d198ed40fcae8cbd2fae163af48d3c518c9628 (diff) | |
download | CMake-711c652edbc47e123a22878e39a4944b31e4708e.zip CMake-711c652edbc47e123a22878e39a4944b31e4708e.tar.gz CMake-711c652edbc47e123a22878e39a4944b31e4708e.tar.bz2 |
ENH: Implemented automatic tag generation for CABIL_DEFINE_SET command. Added tag output to WriteConfiguration methods. Added CABIL_INSTANTIATE_CLASS command to generate explicit class template instantiation configuration output.
Diffstat (limited to 'Source/cmCableDefineSetCommand.h')
-rw-r--r-- | Source/cmCableDefineSetCommand.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Source/cmCableDefineSetCommand.h b/Source/cmCableDefineSetCommand.h index 345ac06..3d598b1 100644 --- a/Source/cmCableDefineSetCommand.h +++ b/Source/cmCableDefineSetCommand.h @@ -69,14 +69,22 @@ public: virtual const char* GetFullDocumentation() { return - "CABIL_DEFINE_SET(name_of_set member1 member2 ...)"; + "CABIL_DEFINE_SET(name_of_set member1 member2 ...)\n" + "Generates a Set definition in the CABIL configuration. Tags are\n" + "automatically generated. The sets are referenced in other CABIL\n" + "commands by a '$' immediately followed by the set name (ex. $SetName)."; } virtual void WriteConfiguration(std::ostream&) const; cmTypeMacro(cmCabilDefineSetCommand, cmCabilCommand); + +private: + std::string GenerateTag(const std::string&) const; + private: - typedef std::vector<std::string> Elements; + typedef std::pair<std::string, std::string> Element; + typedef std::vector<Element> Elements; /** * The name of the set. |