summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-04 17:19:49 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-05 16:20:49 (GMT)
commitee26add4f4062d8b53f22e161027a573dc03399c (patch)
tree8874dc7a8b8524127ea16415392c7b62d1b1d4d1 /Source/cmGeneratorTarget.cxx
parentc8a5f5ae60c911298fc3c0f168ac3652223722a4 (diff)
downloadCMake-ee26add4f4062d8b53f22e161027a573dc03399c.zip
CMake-ee26add4f4062d8b53f22e161027a573dc03399c.tar.gz
CMake-ee26add4f4062d8b53f22e161027a573dc03399c.tar.bz2
cmGeneratorTarget: Move IsBundleOnApple from cmTarget.
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index c314372..c68c2b9 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -910,6 +910,14 @@ cmGeneratorTarget::GetAppBundleDirectory(const std::string& config,
}
//----------------------------------------------------------------------------
+bool cmGeneratorTarget::IsBundleOnApple() const
+{
+ return this->Target->IsFrameworkOnApple()
+ || this->Target->IsAppBundleOnApple()
+ || this->Target->IsCFBundleOnApple();
+}
+
+//----------------------------------------------------------------------------
std::string cmGeneratorTarget::GetCFBundleDirectory(const std::string& config,
bool contentOnly) const
{