summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorYury G. Kudryashov <urkud.urkud@gmail.com>2012-02-26 21:04:43 (GMT)
committerBrad King <brad.king@kitware.com>2012-09-28 13:21:39 (GMT)
commite846e7031fd16ac3e3418ca3a6871aa3f1b6a822 (patch)
treebd8059fc07adc3ad590075f6f66d6f0a50b76161 /Source/cmGlobalGenerator.h
parent81c66c8b88d756a1605aa1aac1de49df77feecdd (diff)
downloadCMake-e846e7031fd16ac3e3418ca3a6871aa3f1b6a822.zip
CMake-e846e7031fd16ac3e3418ca3a6871aa3f1b6a822.tar.gz
CMake-e846e7031fd16ac3e3418ca3a6871aa3f1b6a822.tar.bz2
exports: Remove cmTargetExport constructor
The constructor was used exactly once. Setting members explicitly makes the code more readable.
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index b0c7059..29f11e1 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -154,13 +154,7 @@ public:
{ return &this->InstallComponents; }
///! Add one installed target to the sets of the exports
- void AddTargetToExports(const char* exportSet, cmTarget* target,
- cmInstallTargetGenerator* archive,
- cmInstallTargetGenerator* runTime,
- cmInstallTargetGenerator* library,
- cmInstallTargetGenerator* framework,
- cmInstallTargetGenerator* bundle,
- cmInstallFilesGenerator* publicHeaders);
+ void AddTargetToExports(const char* exportSet, cmTargetExport* te);
///! Get the export target set with the given name
const std::vector<cmTargetExport*>* GetExportSet(const char* name) const;