diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-01-13 08:44:52 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-01-15 19:36:21 (GMT) |
commit | cfd4f0a4f49da41330f648a665b24cb507829ede (patch) | |
tree | 9bba35620b54fed328d60653435febe7dbba7f6e /Source/cmExportFileGenerator.h | |
parent | d8fe1fcd800e622209fdb84f1302822e8bee5a77 (diff) | |
download | CMake-cfd4f0a4f49da41330f648a665b24cb507829ede.zip CMake-cfd4f0a4f49da41330f648a665b24cb507829ede.tar.gz CMake-cfd4f0a4f49da41330f648a665b24cb507829ede.tar.bz2 |
Move the exported check for dependencies of targets
Check only once, in the Config.cmake file, instead of once in each
Config-<cfg>.cmake file.
Diffstat (limited to 'Source/cmExportFileGenerator.h')
-rw-r--r-- | Source/cmExportFileGenerator.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmExportFileGenerator.h b/Source/cmExportFileGenerator.h index 4d97a63..8620dd1 100644 --- a/Source/cmExportFileGenerator.h +++ b/Source/cmExportFileGenerator.h @@ -47,7 +47,8 @@ protected: // Generate per-configuration target information to the given output // stream. - void GenerateImportConfig(std::ostream& os, const char* config); + void GenerateImportConfig(std::ostream& os, const char* config, + std::vector<std::string> &missingTargets); // Methods to implement export file code generation. void GenerateImportHeaderCode(std::ostream& os, const char* config = 0); @@ -85,7 +86,8 @@ protected: /** Each subclass knows where the target files are located. */ virtual void GenerateImportTargetsConfig(std::ostream& os, const char* config, - std::string const& suffix) = 0; + std::string const& suffix, + std::vector<std::string> &missingTargets) = 0; /** Each subclass knows how to deal with a target that is missing from an * export set. */ |