diff options
author | Brad King <brad.king@kitware.com> | 2014-08-04 14:02:27 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-08-04 14:02:27 (GMT) |
commit | ba62b3495bc35898f3e43324688bcf847c9fd343 (patch) | |
tree | 02c9482f9fb4104e38f07ecc6332e76f16df568f /Source | |
parent | 7338d4c21177c632f445d7e560d9509fdf233350 (diff) | |
parent | 0a5fe2793a385034d3a676d2dc4cef3122e9bbea (diff) | |
download | CMake-ba62b3495bc35898f3e43324688bcf847c9fd343.zip CMake-ba62b3495bc35898f3e43324688bcf847c9fd343.tar.gz CMake-ba62b3495bc35898f3e43324688bcf847c9fd343.tar.bz2 |
Merge topic 'vs-internal-system-apis'
0a5fe279 VS: Add internal API to get system name and version
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 |