diff options
author | Brad King <brad.king@kitware.com> | 2013-05-28 14:42:18 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-05-28 14:42:18 (GMT) |
commit | be85fa4a8916819514ca5c5c01db14733d5b9bce (patch) | |
tree | 3cddcdc8067710649d590ce7b59b73227a8fef03 /Source/cmGlobalGenerator.h | |
parent | 9c1393217c34f3fae101d5852df67a71edebb605 (diff) | |
parent | b983a58bdf1a03a49f2512ac68390888669ac30b (diff) | |
download | CMake-be85fa4a8916819514ca5c5c01db14733d5b9bce.zip CMake-be85fa4a8916819514ca5c5c01db14733d5b9bce.tar.gz CMake-be85fa4a8916819514ca5c5c01db14733d5b9bce.tar.bz2 |
Merge topic 'genex-generate-file'
b983a58 file: Add GENERATE command to produce files at generate time
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r-- | Source/cmGlobalGenerator.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h index 9427434..2fcdc43 100644 --- a/Source/cmGlobalGenerator.h +++ b/Source/cmGlobalGenerator.h @@ -20,9 +20,11 @@ #include "cmSystemTools.h" // for cmSystemTools::OutputOption #include "cmExportSetMap.h" // For cmExportSetMap #include "cmGeneratorTarget.h" +#include "cmGeneratorExpression.h" class cmake; class cmGeneratorTarget; +class cmGeneratorExpressionEvaluationFile; class cmMakefile; class cmLocalGenerator; class cmExternalMakefileProjectGenerator; @@ -279,6 +281,14 @@ public: static std::string EscapeJSON(const std::string& s); + void AddEvaluationFile(const std::string &inputFile, + cmsys::auto_ptr<cmCompiledGeneratorExpression> outputName, + cmMakefile *makefile, + cmsys::auto_ptr<cmCompiledGeneratorExpression> condition, + bool inputIsContent); + + void ProcessEvaluationFiles(); + protected: typedef std::vector<cmLocalGenerator*> GeneratorVector; // for a project collect all its targets by following depend @@ -338,6 +348,7 @@ protected: // All targets in the entire project. std::map<cmStdString,cmTarget *> TotalTargets; std::map<cmStdString,cmTarget *> ImportedTargets; + std::vector<cmGeneratorExpressionEvaluationFile*> EvaluationFiles; virtual const char* GetPredefinedTargetsFolder(); virtual bool UseFolderProperty(); |