summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileExecutableTargetGenerator.cxx
diff options
context:
space:
mode:
authorNicolas Despres <nicolas.despres@gmail.com>2012-07-16 15:34:22 (GMT)
committerPeter Kümmel <syntheticpp@gmx.net>2012-07-17 12:03:10 (GMT)
commit5d885db416a4cec236ba6422868dc3db3d766bc4 (patch)
treed7d30b2df4e3c706c7598407b96c0abbdcba36ee /Source/cmMakefileExecutableTargetGenerator.cxx
parent3b2a01e80ef0faf626afd4c5031395c00e1c9ecd (diff)
downloadCMake-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.cxx5
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();
}