summaryrefslogtreecommitdiffstats
path: root/Source/cmExportTryCompileFileGenerator.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/cmExportTryCompileFileGenerator.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/cmExportTryCompileFileGenerator.h')
-rw-r--r--Source/cmExportTryCompileFileGenerator.h5
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: