summaryrefslogtreecommitdiffstats
path: root/Source/cmExportInstallFileGenerator.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-01-13 08:44:52 (GMT)
committerBrad King <brad.king@kitware.com>2013-01-15 19:36:21 (GMT)
commitcfd4f0a4f49da41330f648a665b24cb507829ede (patch)
tree9bba35620b54fed328d60653435febe7dbba7f6e /Source/cmExportInstallFileGenerator.h
parentd8fe1fcd800e622209fdb84f1302822e8bee5a77 (diff)
downloadCMake-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/cmExportInstallFileGenerator.h')
-rw-r--r--Source/cmExportInstallFileGenerator.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmExportInstallFileGenerator.h b/Source/cmExportInstallFileGenerator.h
index e719ecc..e187749 100644
--- a/Source/cmExportInstallFileGenerator.h
+++ b/Source/cmExportInstallFileGenerator.h
@@ -56,7 +56,8 @@ protected:
virtual bool GenerateMainFile(std::ostream& os);
virtual void GenerateImportTargetsConfig(std::ostream& os,
const char* config,
- std::string const& suffix);
+ std::string const& suffix,
+ std::vector<std::string> &missingTargets);
virtual void HandleMissingTarget(std::string& link_libs,
std::vector<std::string>& missingTargets,
cmMakefile* mf,
@@ -72,7 +73,8 @@ protected:
/** Generate a per-configuration file for the targets. */
- bool GenerateImportFileConfig(const char* config);
+ bool GenerateImportFileConfig(const char* config,
+ std::vector<std::string> &missingTargets);
/** Fill in properties indicating installed file locations. */
void SetImportLocationProperty(const char* config,