summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackGenerators.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CPack/cmCPackGenerators.h')
-rw-r--r--Source/CPack/cmCPackGenerators.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/CPack/cmCPackGenerators.h b/Source/CPack/cmCPackGenerators.h
index 4f459d5..3a08e7d 100644
--- a/Source/CPack/cmCPackGenerators.h
+++ b/Source/CPack/cmCPackGenerators.h
@@ -20,6 +20,7 @@
#include "cmObject.h"
+class cmCPackLog;
class cmCPackGenericGenerator;
/** \class cmCPackGenerators
@@ -42,12 +43,15 @@ public:
void RegisterGenerator(const char* name, CreateGeneratorCall* createGenerator);
+ void SetLogger(cmCPackLog* logger) { m_Logger = logger; }
+
private:
cmCPackGenericGenerator* NewGeneratorInternal(const char* name);
std::vector<cmCPackGenericGenerator*> m_Generators;
typedef std::map<cmStdString, CreateGeneratorCall*> t_GeneratorCreatorsMap;
t_GeneratorCreatorsMap m_GeneratorCreators;
+ cmCPackLog* m_Logger;
};
#endif