diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-10-10 19:32:37 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-11-22 14:06:25 (GMT) |
commit | c34968a9aa12221f54973a56d4e98940cff676a5 (patch) | |
tree | 706aef3eddc310e5836120498fdf054a2334b8d4 /Source/cmMakefileLibraryTargetGenerator.cxx | |
parent | abb13ea5659cdaa4254724fca582f56570f88164 (diff) | |
download | CMake-c34968a9aa12221f54973a56d4e98940cff676a5.zip CMake-c34968a9aa12221f54973a56d4e98940cff676a5.tar.gz CMake-c34968a9aa12221f54973a56d4e98940cff676a5.tar.bz2 |
Port some of the generator API to cmGeneratorTarget.
Just enough to reach the BuildMacContentDirectory method and the
NeedRelinkBeforeInstall methods.
In the future, those methods can be moved to cmGeneratorTarget.
Diffstat (limited to 'Source/cmMakefileLibraryTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileLibraryTargetGenerator.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmMakefileLibraryTargetGenerator.cxx b/Source/cmMakefileLibraryTargetGenerator.cxx index 29365a3..7b8a531 100644 --- a/Source/cmMakefileLibraryTargetGenerator.cxx +++ b/Source/cmMakefileLibraryTargetGenerator.cxx @@ -21,15 +21,15 @@ //---------------------------------------------------------------------------- cmMakefileLibraryTargetGenerator -::cmMakefileLibraryTargetGenerator(cmTarget* target): - cmMakefileTargetGenerator(target) +::cmMakefileLibraryTargetGenerator(cmGeneratorTarget* target): + cmMakefileTargetGenerator(target->Target) { this->CustomCommandDriver = OnDepends; this->Target->GetLibraryNames( this->TargetNameOut, this->TargetNameSO, this->TargetNameReal, this->TargetNameImport, this->TargetNamePDB, this->ConfigName); - this->OSXBundleGenerator = new cmOSXBundleGenerator(this->Target, + this->OSXBundleGenerator = new cmOSXBundleGenerator(target, this->ConfigName); this->OSXBundleGenerator->SetMacContentFolders(&this->MacContentFolders); } |