summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.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/cmGeneratorTarget.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/cmGeneratorTarget.h')
-rw-r--r--Source/cmGeneratorTarget.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h
index e46c719..f1014d9 100644
--- a/Source/cmGeneratorTarget.h
+++ b/Source/cmGeneratorTarget.h
@@ -389,6 +389,11 @@ public:
ModuleDefinitionInfo const* GetModuleDefinitionInfo(
std::string const& config) const;
+ /** Return whether or not we are targeting AIX. */
+ bool IsAIX() const;
+ /** Return whether or not we are targeting Apple. */
+ bool IsApple() const;
+
/** Return whether or not the target is for a DLL platform. */
bool IsDLLPlatform() const;