[Cmake-commits] CMake branch, next, updated. v3.0.0-4693-g48ec39b
Brad King
brad.king at kitware.com
Thu Jul 31 10:55:08 EDT 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 48ec39bce49ea2ffaf97e6726a3fa901aaca0eab (commit)
via 0a5fe2793a385034d3a676d2dc4cef3122e9bbea (commit)
from 66f8a0e90c775b1eec4e625e16a475350653c3a6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=48ec39bce49ea2ffaf97e6726a3fa901aaca0eab
commit 48ec39bce49ea2ffaf97e6726a3fa901aaca0eab
Merge: 66f8a0e 0a5fe27
Author: Brad King <brad.king at kitware.com>
AuthorDate: Thu Jul 31 10:55:07 2014 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Thu Jul 31 10:55:07 2014 -0400
Merge topic 'vs-internal-system-apis' into next
0a5fe279 VS: Add internal API to get system name and version
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0a5fe2793a385034d3a676d2dc4cef3122e9bbea
commit 0a5fe2793a385034d3a676d2dc4cef3122e9bbea
Author: Brad King <brad.king at kitware.com>
AuthorDate: Wed Jul 30 14:06:07 2014 -0400
Commit: Brad King <brad.king at kitware.com>
CommitDate: Thu Jul 31 10:47:22 2014 -0400
VS: Add internal API to get system name and version
Add cmGlobalVisualStudio10Generator::GetSystemName and GetSystemVersion
methods to access the corresponding members publicly.
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
-----------------------------------------------------------------------
Summary of changes:
Source/cmGlobalVisualStudio10Generator.h | 6 ++++++
1 file changed, 6 insertions(+)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list