diff options
author | Brad King <brad.king@kitware.com> | 2014-07-30 18:06:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-07-31 14:47:22 (GMT) |
commit | 0a5fe2793a385034d3a676d2dc4cef3122e9bbea (patch) | |
tree | 2c0c17d0720afdcb99a5c00da9d0c0530e3950de /Source | |
parent | fe161dc30daf4d329e74d0586f47780b4c127ed4 (diff) | |
download | CMake-0a5fe2793a385034d3a676d2dc4cef3122e9bbea.zip CMake-0a5fe2793a385034d3a676d2dc4cef3122e9bbea.tar.gz CMake-0a5fe2793a385034d3a676d2dc4cef3122e9bbea.tar.bz2 |
VS: Add internal API to get system name and version
Add cmGlobalVisualStudio10Generator::GetSystemName and GetSystemVersion
methods to access the corresponding members publicly.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGlobalVisualStudio10Generator.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.h b/Source/cmGlobalVisualStudio10Generator.h index 4d7ff80..b042559 100644 --- a/Source/cmGlobalVisualStudio10Generator.h +++ b/Source/cmGlobalVisualStudio10Generator.h @@ -64,6 +64,12 @@ public: /** The toolset name for the target platform. */ const char* GetPlatformToolset() const; + /** Return the CMAKE_SYSTEM_NAME. */ + std::string const& GetSystemName() const { return this->SystemName; } + + /** Return the CMAKE_SYSTEM_VERSION. */ + std::string const& GetSystemVersion() const { return this->SystemVersion; } + /** * Where does this version of Visual Studio look for macros for the * current user? Returns the empty string if this version of Visual |