VS: Add internal API to get system name and version
Add cmGlobalVisualStudio10Generator::GetSystemName and GetSystemVersion methods to access the corresponding members publicly.
This commit is contained in:
parent
fe161dc30d
commit
0a5fe2793a
|
@ -64,6 +64,12 @@ public:
|
||||||
/** The toolset name for the target platform. */
|
/** The toolset name for the target platform. */
|
||||||
const char* GetPlatformToolset() const;
|
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
|
* Where does this version of Visual Studio look for macros for the
|
||||||
* current user? Returns the empty string if this version of Visual
|
* current user? Returns the empty string if this version of Visual
|
||||||
|
|
Loading…
Reference in New Issue