diff options
author | Nicolas Despres <nicolas.despres@gmail.com> | 2012-07-16 15:34:22 (GMT) |
---|---|---|
committer | Peter Kümmel <syntheticpp@gmx.net> | 2012-07-17 12:03:10 (GMT) |
commit | 5d885db416a4cec236ba6422868dc3db3d766bc4 (patch) | |
tree | d7d30b2df4e3c706c7598407b96c0abbdcba36ee /Source/cmMakefileExecutableTargetGenerator.cxx | |
parent | 3b2a01e80ef0faf626afd4c5031395c00e1c9ecd (diff) | |
download | CMake-5d885db416a4cec236ba6422868dc3db3d766bc4.zip CMake-5d885db416a4cec236ba6422868dc3db3d766bc4.tar.gz CMake-5d885db416a4cec236ba6422868dc3db3d766bc4.tar.bz2 |
Re-factor bundle content copying rules generation.
Diffstat (limited to 'Source/cmMakefileExecutableTargetGenerator.cxx')
-rw-r--r-- | Source/cmMakefileExecutableTargetGenerator.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmMakefileExecutableTargetGenerator.cxx b/Source/cmMakefileExecutableTargetGenerator.cxx index d9ab334..ab5150a 100644 --- a/Source/cmMakefileExecutableTargetGenerator.cxx +++ b/Source/cmMakefileExecutableTargetGenerator.cxx @@ -18,13 +18,11 @@ #include "cmSourceFile.h" #include "cmTarget.h" #include "cmake.h" -#include "cmOSXBundleGenerator.h" //---------------------------------------------------------------------------- cmMakefileExecutableTargetGenerator ::cmMakefileExecutableTargetGenerator(cmTarget* target): - cmMakefileTargetGenerator(target), - OSXBundleGenerator(0) + cmMakefileTargetGenerator(target) { this->CustomCommandDriver = OnDepends; this->Target->GetExecutableNames( @@ -34,6 +32,7 @@ cmMakefileExecutableTargetGenerator this->OSXBundleGenerator = new cmOSXBundleGenerator(this->Target, this->TargetNameOut, this->ConfigName); + this->OSXBundleGenerator->SetMacContentFolders(&this->MacContentFolders); this->MacContentDirectory = this->OSXBundleGenerator->GetMacContentDirectory(); } |