summaryrefslogtreecommitdiffstats
path: root/Source/cmExportInstallFileGenerator.h
diff options
context:
space:
mode:
authorEugene Shalygin <eugene.shalygin@gmail.com>2021-07-20 19:41:36 (GMT)
committerEugene Shalygin <eugene.shalygin@gmail.com>2021-07-22 11:08:58 (GMT)
commite8e19ed8f2f0d05bb7fc7e5987809a3754ad4f74 (patch)
treee5bd13d1906dab2f18718ad54ba8eceb666b637d /Source/cmExportInstallFileGenerator.h
parent55e4753bbb60c0da12b09837bac97a46b851ae32 (diff)
downloadCMake-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/cmExportInstallFileGenerator.h')
-rw-r--r--Source/cmExportInstallFileGenerator.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmExportInstallFileGenerator.h b/Source/cmExportInstallFileGenerator.h
index 2d8de9d..5cec2e0 100644
--- a/Source/cmExportInstallFileGenerator.h
+++ b/Source/cmExportInstallFileGenerator.h
@@ -63,13 +63,13 @@ protected:
cmTargetExport const* targetExport) const;
void HandleMissingTarget(std::string& link_libs,
std::vector<std::string>& missingTargets,
- cmGeneratorTarget* depender,
+ cmGeneratorTarget const* depender,
cmGeneratorTarget* dependee) override;
void ReplaceInstallPrefix(std::string& input) override;
- void ComplainAboutMissingTarget(cmGeneratorTarget* depender,
- cmGeneratorTarget* dependee,
+ void ComplainAboutMissingTarget(cmGeneratorTarget const* depender,
+ cmGeneratorTarget const* dependee,
std::vector<std::string> const& exportFiles);
std::pair<std::vector<std::string>, std::string> FindNamespaces(
@@ -94,7 +94,7 @@ protected:
ImportPropertyMap& properties,
std::set<std::string>& importedLocations);
- std::string InstallNameDir(cmGeneratorTarget* target,
+ std::string InstallNameDir(cmGeneratorTarget const* target,
const std::string& config) override;
cmInstallExportGenerator* IEGen;