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/cmExportTryCompileFileGenerator.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/cmExportTryCompileFileGenerator.h')
-rw-r--r-- | Source/cmExportTryCompileFileGenerator.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmExportTryCompileFileGenerator.h b/Source/cmExportTryCompileFileGenerator.h index 6bf5781..127b8df 100644 --- a/Source/cmExportTryCompileFileGenerator.h +++ b/Source/cmExportTryCompileFileGenerator.h @@ -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: |