|
|
@@ -33,6 +33,9 @@ public:
|
|
|
|
|
|
/** Get the documentation entry for this factory */
|
|
|
virtual void GetDocumentation(cmDocumentationEntry& entry) const = 0;
|
|
|
+
|
|
|
+ /** Get the names of the current registered generators */
|
|
|
+ virtual void GetGenerators(std::vector<std::string>& names) const = 0;
|
|
|
};
|
|
|
|
|
|
template<class T>
|
|
|
@@ -46,6 +49,10 @@ public:
|
|
|
/** Get the documentation entry for this factory */
|
|
|
virtual void GetDocumentation(cmDocumentationEntry& entry) const {
|
|
|
T().GetDocumentation(entry); }
|
|
|
+
|
|
|
+ /** Get the names of the current registered generators */
|
|
|
+ virtual void GetGenerators(std::vector<std::string>& names) const {
|
|
|
+ names.push_back(T::GetActualName()); }
|
|
|
};
|
|
|
|
|
|
#endif
|