diff options
author | Marc Chevrier <marc.chevrier@gmail.com> | 2023-02-17 15:25:29 (GMT) |
---|---|---|
committer | Marc Chevrier <marc.chevrier@gmail.com> | 2023-02-28 13:24:03 (GMT) |
commit | fcbd723a5085c11c57ec966f8aea605a55d0bdd5 (patch) | |
tree | c3063c72d82eaf6044342ac1ad8bdd7bcd1e4758 /Source/cmGeneratorTarget.h | |
parent | 22a491c3ea790532511e8de09692ccd002447c9d (diff) | |
download | CMake-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.h | 5 |
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; |