summaryrefslogtreecommitdiffstats
path: root/Source/cmExportInstallAndroidMKGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-04-11 15:06:28 (GMT)
committerBrad King <brad.king@kitware.com>2022-04-11 17:40:13 (GMT)
commit8c65b7042e0e7bca3dc5c0cda8975fd2e9c6dc51 (patch)
tree340fba27fb9bd49f82197ba477939a2ee9bfcd2e /Source/cmExportInstallAndroidMKGenerator.h
parent7fc248bde34c529c6f1312a56c7e82303238b9c1 (diff)
downloadCMake-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/cmExportInstallAndroidMKGenerator.h')
-rw-r--r--Source/cmExportInstallAndroidMKGenerator.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/Source/cmExportInstallAndroidMKGenerator.h b/Source/cmExportInstallAndroidMKGenerator.h
index 40978e0..c05751a 100644
--- a/Source/cmExportInstallAndroidMKGenerator.h
+++ b/Source/cmExportInstallAndroidMKGenerator.h
@@ -7,7 +7,6 @@
#include <iosfwd>
#include <set>
#include <string>
-#include <vector>
#include "cmExportFileGenerator.h"
#include "cmExportInstallFileGenerator.h"
@@ -50,8 +49,7 @@ protected:
std::ostream& os, const std::string& config,
cmGeneratorTarget const* target,
ImportPropertyMap const& properties) override;
- void GenerateMissingTargetsCheckCode(
- std::ostream& os, const std::vector<std::string>& missingTargets) override;
+ void GenerateMissingTargetsCheckCode(std::ostream& os) override;
void GenerateInterfaceProperties(
cmGeneratorTarget const* target, std::ostream& os,
const ImportPropertyMap& properties) override;
@@ -65,6 +63,5 @@ protected:
std::ostream& os, cmGeneratorTarget* target,
ImportPropertyMap const& properties,
const std::set<std::string>& importedLocations) override;
- bool GenerateImportFileConfig(const std::string& config,
- std::vector<std::string>&) override;
+ bool GenerateImportFileConfig(const std::string& config) override;
};