summaryrefslogtreecommitdiffstats
path: root/Source/cmExportFileGenerator.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-12-10 22:07:09 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-01-05 00:18:36 (GMT)
commite04f737c7a3e66c49e2d50813af1fa40a415eff8 (patch)
tree25cbf74d6303780829668e6bda8f15f05f1741a8 /Source/cmExportFileGenerator.h
parentb0c8f73eb62c5651b4a039f95676cae310bcada9 (diff)
downloadCMake-e04f737c7a3e66c49e2d50813af1fa40a415eff8.zip
CMake-e04f737c7a3e66c49e2d50813af1fa40a415eff8.tar.gz
CMake-e04f737c7a3e66c49e2d50813af1fa40a415eff8.tar.bz2
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.
Diffstat (limited to 'Source/cmExportFileGenerator.h')
-rw-r--r--Source/cmExportFileGenerator.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmExportFileGenerator.h b/Source/cmExportFileGenerator.h
index 4a75c52..0b89a64 100644
--- a/Source/cmExportFileGenerator.h
+++ b/Source/cmExportFileGenerator.h
@@ -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;