diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-09 22:15:38 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-19 18:27:41 (GMT) |
commit | 7550879f570502f31aeafbd48f04bafd17234696 (patch) | |
tree | 4dfcc2a21c477df2c429fa10b3d85f5422887f0e /Source/cmGlobalXCodeGenerator.cxx | |
parent | 88d10d55ac68f2251a549cf09292af8a1fb66ba3 (diff) | |
download | CMake-7550879f570502f31aeafbd48f04bafd17234696.zip CMake-7550879f570502f31aeafbd48f04bafd17234696.tar.gz CMake-7550879f570502f31aeafbd48f04bafd17234696.tar.bz2 |
cmGeneratorTarget: Move IsXCTestOnApple from cmTarget.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 527a84f..a489767 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -2651,7 +2651,7 @@ const char* cmGlobalXCodeGenerator::GetTargetFileType( case cmState::STATIC_LIBRARY: return "archive.ar"; case cmState::MODULE_LIBRARY: - if (target->Target->IsXCTestOnApple()) + if (target->IsXCTestOnApple()) return "wrapper.cfbundle"; else if (target->Target->IsCFBundleOnApple()) return "wrapper.plug-in"; @@ -2678,7 +2678,7 @@ const char* cmGlobalXCodeGenerator::GetTargetProductType( case cmState::STATIC_LIBRARY: return "com.apple.product-type.library.static"; case cmState::MODULE_LIBRARY: - if (target->Target->IsXCTestOnApple()) + if (target->IsXCTestOnApple()) return "com.apple.product-type.bundle.unit-test"; else if (target->Target->IsCFBundleOnApple()) return "com.apple.product-type.bundle"; |