summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2023-02-17 15:25:29 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2023-02-28 13:24:03 (GMT)
commitfcbd723a5085c11c57ec966f8aea605a55d0bdd5 (patch)
treec3063c72d82eaf6044342ac1ad8bdd7bcd1e4758 /Source/cmTarget.h
parent22a491c3ea790532511e8de09692ccd002447c9d (diff)
downloadCMake-fcbd723a5085c11c57ec966f8aea605a55d0bdd5.zip
CMake-fcbd723a5085c11c57ec966f8aea605a55d0bdd5.tar.gz
CMake-fcbd723a5085c11c57ec966f8aea605a55d0bdd5.tar.bz2
Enhance support functions
* Avoid duplicate definiitions for IsExecutableWithExports, etc... * Add helper IsApple()
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 95539fa..95523f4 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -205,6 +205,8 @@ public:
//! Return whether or not we are targeting AIX.
bool IsAIX() const;
+ //! Return whether or not we are targeting Apple.
+ bool IsApple() const;
bool IsNormal() const;
bool IsSynthetic() const;