mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
Re-factor bundle content copying rules generation.
This commit is contained in:
committed by
Peter Kümmel
parent
3b2a01e80e
commit
5d885db416
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user