Add API to extract target names from a genex string.

The TARGET_NAME expression, which requires a literal, provides
target names. $<TARGET_PROPERTY:tgt,prop> also provides target
names in the cases where tgt is a literal, so that TARGET_NAME is
not needed then in addition.
This commit is contained in:
Stephen Kelly
2012-12-10 23:07:09 +01:00
parent b0c8f73eb6
commit e04f737c7a
2 changed files with 140 additions and 0 deletions
+4
View File
@@ -94,6 +94,10 @@ protected:
cmTarget* depender,
cmTarget* dependee) = 0;
void ResolveTargetsInGeneratorExpressions(std::string &input,
cmTarget* target,
std::vector<std::string> &missingTargets);
// The namespace in which the exports are placed in the generated file.
std::string Namespace;