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/cmExportTryCompileFileGenerator.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/cmExportTryCompileFileGenerator.h')
-rw-r--r-- | Source/cmExportTryCompileFileGenerator.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmExportTryCompileFileGenerator.h b/Source/cmExportTryCompileFileGenerator.h index 8a1fd7e..1dd8a20 100644 --- a/Source/cmExportTryCompileFileGenerator.h +++ b/Source/cmExportTryCompileFileGenerator.h @@ -33,12 +33,10 @@ protected: bool GenerateMainFile(std::ostream& os) override; void GenerateImportTargetsConfig(std::ostream&, const std::string&, - std::string const&, - std::vector<std::string>&) override + std::string const&) override { } - void HandleMissingTarget(std::string&, std::vector<std::string>&, - cmGeneratorTarget const*, + void HandleMissingTarget(std::string&, cmGeneratorTarget const*, cmGeneratorTarget*) override { } |