mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
cmGeneratorTarget: Factor out EvaluatedTargetProperty infrastructure
Make it available outside the `cmGeneratorTarget` implementation. In particular, we will later use it in `cmQtAutoGenInitializer`.
This commit is contained in:
committed by
Brad King
parent
2daba01ddf
commit
7cecb6353e
@@ -1291,3 +1291,25 @@ private:
|
||||
};
|
||||
mutable std::map<std::string, InfoByConfig> Configs;
|
||||
};
|
||||
|
||||
class cmGeneratorTarget::TargetPropertyEntry
|
||||
{
|
||||
protected:
|
||||
static cmLinkImplItem NoLinkImplItem;
|
||||
|
||||
public:
|
||||
TargetPropertyEntry(cmLinkImplItem const& item);
|
||||
virtual ~TargetPropertyEntry() = default;
|
||||
|
||||
virtual const std::string& Evaluate(
|
||||
cmLocalGenerator* lg, const std::string& config,
|
||||
cmGeneratorTarget const* headTarget,
|
||||
cmGeneratorExpressionDAGChecker* dagChecker,
|
||||
std::string const& language) const = 0;
|
||||
|
||||
virtual cmListFileBacktrace GetBacktrace() const = 0;
|
||||
virtual std::string const& GetInput() const = 0;
|
||||
virtual bool GetHadContextSensitiveCondition() const;
|
||||
|
||||
cmLinkImplItem const& LinkImplItem;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user