diff options
author | Brad King <brad.king@kitware.com> | 2009-09-30 17:45:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-09-30 17:45:14 (GMT) |
commit | 56d1a1780d45d8f9f852e32162153d80721b4662 (patch) | |
tree | 7035af3c8c36da7cdf398c6fc522e10f459102b8 /Source/cmMakefile.h | |
parent | f9c0e139758ed38975cce8d78420b5b5ba36bbbd (diff) | |
download | CMake-56d1a1780d45d8f9f852e32162153d80721b4662.zip CMake-56d1a1780d45d8f9f852e32162153d80721b4662.tar.gz CMake-56d1a1780d45d8f9f852e32162153d80721b4662.tar.bz2 |
Create cmMakefile::PlatformIs64Bit helper method
This method centralizes tests for whether CMAKE_SIZEOF_VOID_P is 8.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index ea9eb17..485d9e2 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -588,6 +588,9 @@ public: bool IsOn(const char* name) const; bool IsSet(const char* name) const; + /** Return whether the target platform is 64-bit. */ + bool PlatformIs64Bit() const; + /** * Get a list of preprocessor define flags. */ |