diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-10-10 09:18:10 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-10-11 10:46:10 (GMT) |
commit | a4263c9f6447e526886d6af301b84c9097c097fa (patch) | |
tree | 2e7e86321e266fbdb350565849adbf4af73a61a3 /Source/cmExportBuildFileGenerator.h | |
parent | 66b290e7e2bbeb987ea83e2f9edaac99fe8593f5 (diff) | |
download | CMake-a4263c9f6447e526886d6af301b84c9097c097fa.zip CMake-a4263c9f6447e526886d6af301b84c9097c097fa.tar.gz CMake-a4263c9f6447e526886d6af301b84c9097c097fa.tar.bz2 |
export(): Handle multiple dependent export sets.
The export-sets topic, merged in commit 49c7b649 (Merge topic
'export-sets', 2012-10-01) changed install(EXPORT) to allow
exporting targets whose dependents are exported separately
to different locations. Doing the same for export() was not
possible because the export() command was executed at
configure-time.
Now that export() is also executed at generate-time, make it
possible to export to multiple dependent export sets.
Diffstat (limited to 'Source/cmExportBuildFileGenerator.h')
-rw-r--r-- | Source/cmExportBuildFileGenerator.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmExportBuildFileGenerator.h b/Source/cmExportBuildFileGenerator.h index 0392d80..2fbd98f 100644 --- a/Source/cmExportBuildFileGenerator.h +++ b/Source/cmExportBuildFileGenerator.h @@ -60,7 +60,8 @@ protected: cmTarget* dependee); void ComplainAboutMissingTarget(cmTarget* depender, - cmTarget* dependee); + cmTarget* dependee, + int occurrences); /** Fill in properties indicating built file locations. */ void SetImportLocationProperty(const char* config, @@ -70,6 +71,9 @@ protected: std::string InstallNameDir(cmTarget* target, const std::string& config); + std::vector<std::string> + FindNamespaces(cmMakefile* mf, const std::string& name); + std::vector<std::string> Targets; std::vector<cmTarget*> Exports; cmMakefile* Makefile; |