diff options
author | Brad King <brad.king@kitware.com> | 2022-04-11 15:06:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-04-11 17:40:13 (GMT) |
commit | 8c65b7042e0e7bca3dc5c0cda8975fd2e9c6dc51 (patch) | |
tree | 340fba27fb9bd49f82197ba477939a2ee9bfcd2e /Source/cmExportBuildFileGenerator.h | |
parent | 7fc248bde34c529c6f1312a56c7e82303238b9c1 (diff) | |
download | CMake-8c65b7042e0e7bca3dc5c0cda8975fd2e9c6dc51.zip CMake-8c65b7042e0e7bca3dc5c0cda8975fd2e9c6dc51.tar.gz CMake-8c65b7042e0e7bca3dc5c0cda8975fd2e9c6dc51.tar.bz2 |
cmExportFileGenerator: Simplify collection of targets missing from export set
Store the list of missing target names in a member instead of threading
an explicit reference to it through the call stack.
Diffstat (limited to 'Source/cmExportBuildFileGenerator.h')
-rw-r--r-- | Source/cmExportBuildFileGenerator.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmExportBuildFileGenerator.h b/Source/cmExportBuildFileGenerator.h index a7985c7..3db8719 100644 --- a/Source/cmExportBuildFileGenerator.h +++ b/Source/cmExportBuildFileGenerator.h @@ -55,13 +55,11 @@ public: protected: // Implement virtual methods from the superclass. bool GenerateMainFile(std::ostream& os) override; - void GenerateImportTargetsConfig( - std::ostream& os, const std::string& config, std::string const& suffix, - std::vector<std::string>& missingTargets) override; + void GenerateImportTargetsConfig(std::ostream& os, const std::string& config, + std::string const& suffix) override; cmStateEnums::TargetType GetExportTargetType( cmGeneratorTarget const* target) const; void HandleMissingTarget(std::string& link_libs, - std::vector<std::string>& missingTargets, cmGeneratorTarget const* depender, cmGeneratorTarget* dependee) override; |