summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorGregor Jasny <gjasny@googlemail.com>2015-02-25 20:07:43 (GMT)
committerBrad King <brad.king@kitware.com>2015-03-23 13:12:18 (GMT)
commit3714955b9cded21b13064886b30a412211ce217e (patch)
treeba361c972d5fa02c267a54cc5df514294cd0141f /Source/cmTarget.h
parent54a5cdbb4c35aa8847d3eb0f7f418fad72563992 (diff)
downloadCMake-3714955b9cded21b13064886b30a412211ce217e.zip
CMake-3714955b9cded21b13064886b30a412211ce217e.tar.gz
CMake-3714955b9cded21b13064886b30a412211ce217e.tar.bz2
OS X: Add handling for XCTest bundles
An XCTest bundle is a CFBundle with a special product-type and bundle extension. For more information about XCTest visit the Mac Developer library at: http://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/testing_with_xcode/ Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 5170b31..a4ef977 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -527,6 +527,9 @@ public:
/** Return whether this target is a CFBundle (plugin) on Apple. */
bool IsCFBundleOnApple() const;
+ /** Return whether this target is a XCTest on Apple. */
+ bool IsXCTestOnApple() const;
+
/** Return whether this target is an executable Bundle on Apple. */
bool IsAppBundleOnApple() const;