Refactor export file generator inteface

Replace cmTargetExport with const cmGeneratorTarget to allow recursive
processing of exported targets and their link dependencies.
This commit is contained in:
Eugene Shalygin
2021-07-20 21:41:36 +02:00
parent 55e4753bbb
commit e8e19ed8f2
8 changed files with 61 additions and 62 deletions

View File

@@ -36,7 +36,8 @@ protected:
{
}
void HandleMissingTarget(std::string&, std::vector<std::string>&,
cmGeneratorTarget*, cmGeneratorTarget*) override
cmGeneratorTarget const*,
cmGeneratorTarget*) override
{
}
@@ -44,7 +45,7 @@ protected:
ImportPropertyMap& properties,
std::set<const cmGeneratorTarget*>& emitted);
std::string InstallNameDir(cmGeneratorTarget* target,
std::string InstallNameDir(cmGeneratorTarget const* target,
const std::string& config) override;
private: