diff options
author | Brad King <brad.king@kitware.com> | 2014-07-17 20:34:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-07-17 20:34:21 (GMT) |
commit | 6e176e6d9efa80fb4d08f1ead6bc33f115f8885d (patch) | |
tree | a21e174293423fa20a15ee6e2d37703003e94379 /Source/cmGlobalVisualStudio10Generator.h | |
parent | d3d9218a52dad04c1cfa87e537d98ee0678db1db (diff) | |
download | CMake-6e176e6d9efa80fb4d08f1ead6bc33f115f8885d.zip CMake-6e176e6d9efa80fb4d08f1ead6bc33f115f8885d.tar.gz CMake-6e176e6d9efa80fb4d08f1ead6bc33f115f8885d.tar.bz2 |
VS: Delay platform definitions until system name is known
Move the definition of CMAKE_VS_PLATFORM_NAME and other variables that
are not needed by CMakeDetermineSystem out of the AddPlatformDefinitions
method and into a SetSystemName method. The latter may later use
CMAKE_SYSTEM_NAME to decide what platform-specific definitions to add.
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.h')
-rw-r--r-- | Source/cmGlobalVisualStudio10Generator.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.h b/Source/cmGlobalVisualStudio10Generator.h index 107b646..cb639dd 100644 --- a/Source/cmGlobalVisualStudio10Generator.h +++ b/Source/cmGlobalVisualStudio10Generator.h @@ -31,6 +31,7 @@ public: virtual bool MatchesGeneratorName(const std::string& name) const; virtual bool SetGeneratorToolset(std::string const& ts, cmMakefile* mf); + virtual bool SetSystemName(std::string const& s, cmMakefile* mf); virtual void GenerateBuildCommand( std::vector<std::string>& makeCommand, @@ -43,8 +44,6 @@ public: std::vector<std::string> const& makeOptions = std::vector<std::string>() ); - virtual void AddPlatformDefinitions(cmMakefile* mf); - ///! create the correct local generator virtual cmLocalGenerator *CreateLocalGenerator(); |