summaryrefslogtreecommitdiffstats
path: root/Source/cmTestGenerator.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-05 19:03:26 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-23 15:46:07 (GMT)
commitc259b8302648de1387e21e9ea907cd1a2cb49933 (patch)
treeca87ae369f48d3a2c8f7751dd2a015c6b697d24a /Source/cmTestGenerator.h
parent75e511eeaf77848ffef00d570cb10243764f51d2 (diff)
downloadCMake-c259b8302648de1387e21e9ea907cd1a2cb49933.zip
CMake-c259b8302648de1387e21e9ea907cd1a2cb49933.tar.gz
CMake-c259b8302648de1387e21e9ea907cd1a2cb49933.tar.bz2
cmTestGenerator: Require cmLocalGenerator, not cmMakefile.
Diffstat (limited to 'Source/cmTestGenerator.h')
-rw-r--r--Source/cmTestGenerator.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmTestGenerator.h b/Source/cmTestGenerator.h
index 5446553..de8ab78 100644
--- a/Source/cmTestGenerator.h
+++ b/Source/cmTestGenerator.h
@@ -15,6 +15,7 @@
#include "cmScriptGenerator.h"
class cmTest;
+class cmLocalGenerator;
/** \class cmTestGenerator
* \brief Support class for generating install scripts.
@@ -28,6 +29,8 @@ public:
configurations = std::vector<std::string>());
virtual ~cmTestGenerator();
+ void Compute(cmLocalGenerator* lg);
+
protected:
virtual void GenerateScriptConfigs(std::ostream& os, Indent const& indent);
virtual void GenerateScriptActions(std::ostream& os, Indent const& indent);
@@ -38,6 +41,7 @@ protected:
virtual bool NeedsScriptNoConfig() const;
void GenerateOldStyle(std::ostream& os, Indent const& indent);
+ cmLocalGenerator* LG;
cmTest* Test;
bool TestGenerated;
};