diff options
author | Brad King <brad.king@kitware.com> | 2015-07-08 15:13:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-07-09 13:50:05 (GMT) |
commit | e7dcdd1011719b031d580d9094ad1f8c4701ef38 (patch) | |
tree | 16e8468d64006928ade55b3f37555d689eacec39 /Source/cmNinjaTargetGenerator.cxx | |
parent | 001f9b361711b479ee0d530056e44b7444edfcff (diff) | |
download | CMake-e7dcdd1011719b031d580d9094ad1f8c4701ef38.zip CMake-e7dcdd1011719b031d580d9094ad1f8c4701ef38.tar.gz CMake-e7dcdd1011719b031d580d9094ad1f8c4701ef38.tar.bz2 |
cmCommonTargetGenerator: Adopt basic target generator members
De-duplicate the GeneratorTarget, Target, and Makefile members from the
local Makefile and Ninja generators.
Diffstat (limited to 'Source/cmNinjaTargetGenerator.cxx')
-rw-r--r-- | Source/cmNinjaTargetGenerator.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cmNinjaTargetGenerator.cxx b/Source/cmNinjaTargetGenerator.cxx index 93b3f4e..5ede08a 100644 --- a/Source/cmNinjaTargetGenerator.cxx +++ b/Source/cmNinjaTargetGenerator.cxx @@ -58,17 +58,14 @@ cmNinjaTargetGenerator::New(cmGeneratorTarget* target) } cmNinjaTargetGenerator::cmNinjaTargetGenerator(cmGeneratorTarget* target) - : cmCommonTargetGenerator(), + : cmCommonTargetGenerator(target), MacOSXContentGenerator(0), OSXBundleGenerator(0), MacContentFolders(), - Target(target->Target), - Makefile(target->Makefile), LocalGenerator( static_cast<cmLocalNinjaGenerator*>(target->GetLocalGenerator())), Objects() { - this->GeneratorTarget = target; MacOSXContentGenerator = new MacOSXContentGeneratorType(this); } |