diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-10-20 18:31:47 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-08 23:04:37 (GMT) |
commit | 8b0168863ed121c7d9f05e3282e2f59490ff6c42 (patch) | |
tree | de9d3bd38dbccd54dd9e11d03d79840bb1a5babe /Source/cmNinjaNormalTargetGenerator.cxx | |
parent | e0261a1e20f14cc2ca593bb978479b52954397d8 (diff) | |
download | CMake-8b0168863ed121c7d9f05e3282e2f59490ff6c42.zip CMake-8b0168863ed121c7d9f05e3282e2f59490ff6c42.tar.gz CMake-8b0168863ed121c7d9f05e3282e2f59490ff6c42.tar.bz2 |
cmGeneratorTarget: Move GetDirectory from cmTarget.
Diffstat (limited to 'Source/cmNinjaNormalTargetGenerator.cxx')
-rw-r--r-- | Source/cmNinjaNormalTargetGenerator.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmNinjaNormalTargetGenerator.cxx b/Source/cmNinjaNormalTargetGenerator.cxx index 24fcaf4..f8743d9 100644 --- a/Source/cmNinjaNormalTargetGenerator.cxx +++ b/Source/cmNinjaNormalTargetGenerator.cxx @@ -59,7 +59,7 @@ cmNinjaNormalTargetGenerator(cmGeneratorTarget* target) { // on Windows the output dir is already needed at compile time // ensure the directory exists (OutDir test) - EnsureDirectoryExists(target->Target->GetDirectory(this->GetConfigName())); + EnsureDirectoryExists(target->GetDirectory(this->GetConfigName())); } this->OSXBundleGenerator = new cmOSXBundleGenerator(target, @@ -413,7 +413,7 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement() if (target.IsAppBundleOnApple()) { // Create the app bundle - std::string outpath = target.GetDirectory(cfgName); + std::string outpath = gt.GetDirectory(cfgName); this->OSXBundleGenerator->CreateAppBundle(this->TargetNameOut, outpath); // Calculate the output path @@ -430,13 +430,13 @@ void cmNinjaNormalTargetGenerator::WriteLinkStatement() { // Create the library framework. this->OSXBundleGenerator->CreateFramework(this->TargetNameOut, - target.GetDirectory(cfgName)); + gt.GetDirectory(cfgName)); } else if(target.IsCFBundleOnApple()) { // Create the core foundation bundle. this->OSXBundleGenerator->CreateCFBundle(this->TargetNameOut, - target.GetDirectory(cfgName)); + gt.GetDirectory(cfgName)); } // Write comments. |