diff options
author | Eugene Shalygin <eugene.shalygin@gmail.com> | 2021-07-20 19:41:36 (GMT) |
---|---|---|
committer | Eugene Shalygin <eugene.shalygin@gmail.com> | 2021-07-22 11:08:58 (GMT) |
commit | e8e19ed8f2f0d05bb7fc7e5987809a3754ad4f74 (patch) | |
tree | e5bd13d1906dab2f18718ad54ba8eceb666b637d /Source/cmExportBuildFileGenerator.h | |
parent | 55e4753bbb60c0da12b09837bac97a46b851ae32 (diff) | |
download | CMake-e8e19ed8f2f0d05bb7fc7e5987809a3754ad4f74.zip CMake-e8e19ed8f2f0d05bb7fc7e5987809a3754ad4f74.tar.gz CMake-e8e19ed8f2f0d05bb7fc7e5987809a3754ad4f74.tar.bz2 |
Refactor export file generator inteface
Replace cmTargetExport with const cmGeneratorTarget to allow recursive
processing of exported targets and their link dependencies.
Diffstat (limited to 'Source/cmExportBuildFileGenerator.h')
-rw-r--r-- | Source/cmExportBuildFileGenerator.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmExportBuildFileGenerator.h b/Source/cmExportBuildFileGenerator.h index 264494d..244f526 100644 --- a/Source/cmExportBuildFileGenerator.h +++ b/Source/cmExportBuildFileGenerator.h @@ -60,11 +60,11 @@ protected: cmGeneratorTarget const* target) const; void HandleMissingTarget(std::string& link_libs, std::vector<std::string>& missingTargets, - cmGeneratorTarget* depender, + cmGeneratorTarget const* depender, cmGeneratorTarget* dependee) override; - void ComplainAboutMissingTarget(cmGeneratorTarget* depender, - cmGeneratorTarget* dependee, + void ComplainAboutMissingTarget(cmGeneratorTarget const* depender, + cmGeneratorTarget const* dependee, std::vector<std::string> const& namespaces); /** Fill in properties indicating built file locations. */ @@ -73,7 +73,7 @@ protected: cmGeneratorTarget* target, ImportPropertyMap& properties); - std::string InstallNameDir(cmGeneratorTarget* target, + std::string InstallNameDir(cmGeneratorTarget const* target, const std::string& config) override; std::pair<std::vector<std::string>, std::string> FindBuildExportInfo( |