diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-08-01 10:05:13 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-08-01 11:07:11 (GMT) |
commit | 6c0e9ee276e9e35a970990baec09c0c2c85b3804 (patch) | |
tree | 1ab194088ca83c2e6bcb6c5bfd09ac69a8e3be13 /Source/cmMakefile.h | |
parent | 9432b14e916421a727265f9a05dc1fbe6c6ec381 (diff) | |
download | CMake-6c0e9ee276e9e35a970990baec09c0c2c85b3804.zip CMake-6c0e9ee276e9e35a970990baec09c0c2c85b3804.tar.gz CMake-6c0e9ee276e9e35a970990baec09c0c2c85b3804.tar.bz2 |
cmMakefile: Store EvaluationFiles.
Relieve the cmGlobalGenerator of this responsibility. Evaluate
the generator expressions in the context of the cmLocalGenerator.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 1e5c301..c16ab3d 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -52,6 +52,7 @@ class cmVariableWatch; class cmake; class cmMakefileCall; class cmCMakePolicyCommand; +class cmGeneratorExpressionEvaluationFile; /** \class cmMakefile * \brief Process the input CMakeLists.txt file. @@ -799,6 +800,12 @@ public: void EnforceDirectoryLevelRules() const; + void AddEvaluationFile(const std::string &inputFile, + cmsys::auto_ptr<cmCompiledGeneratorExpression> outputName, + cmsys::auto_ptr<cmCompiledGeneratorExpression> condition, + bool inputIsContent); + std::vector<cmGeneratorExpressionEvaluationFile*> GetEvaluationFiles() const; + protected: // add link libraries and directories to the target void AddGlobalLinkInformation(const std::string& name, cmTarget& target); @@ -895,6 +902,8 @@ private: std::vector<cmMakefile*> UnConfiguredDirectories; + std::vector<cmGeneratorExpressionEvaluationFile*> EvaluationFiles; + cmPropertyMap Properties; std::vector<cmCommandContext const*> ContextStack; |