|
|
@@ -291,22 +291,6 @@ static const struct ConfigurationTestNode : public cmGeneratorExpressionNode
|
|
|
} configurationTestNode;
|
|
|
|
|
|
|
|
|
-static const struct TargetDefinedNode : public cmGeneratorExpressionNode
|
|
|
-{
|
|
|
- TargetDefinedNode() {}
|
|
|
-
|
|
|
- virtual int NumExpectedParameters() const { return 1; }
|
|
|
-
|
|
|
- std::string Evaluate(const std::vector<std::string> ¶meters,
|
|
|
- cmGeneratorExpressionContext *context,
|
|
|
- const GeneratorExpressionContent *,
|
|
|
- cmGeneratorExpressionDAGChecker *) const
|
|
|
- {
|
|
|
- return context->Makefile->FindTargetToUse(parameters.front().c_str())
|
|
|
- ? "1" : "0";
|
|
|
- }
|
|
|
-} targetDefinedNode;
|
|
|
-
|
|
|
//----------------------------------------------------------------------------
|
|
|
static const char* targetPropertyTransitiveWhitelist[] = {
|
|
|
"INTERFACE_INCLUDE_DIRECTORIES"
|
|
|
@@ -942,8 +926,6 @@ cmGeneratorExpressionNode* GetNode(const std::string &identifier)
|
|
|
return &buildInterfaceNode;
|
|
|
else if (identifier == "INSTALL_INTERFACE")
|
|
|
return &installInterfaceNode;
|
|
|
- else if (identifier == "TARGET_DEFINED")
|
|
|
- return &targetDefinedNode;
|
|
|
else if (identifier == "INSTALL_PREFIX")
|
|
|
return &installPrefixNode;
|
|
|
return 0;
|