summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio10Generator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-08-16 20:20:34 (GMT)
committerBrad King <brad.king@kitware.com>2012-08-22 20:35:46 (GMT)
commit89595d6bceb25ecfa221342f03d1c3dce70c8484 (patch)
tree45077939932707b7bd7a6a91d8031b6f0e30e72a /Source/cmGlobalVisualStudio10Generator.h
parent965a69dcaa0b67c730f45487abeee97ef652d545 (diff)
downloadCMake-89595d6bceb25ecfa221342f03d1c3dce70c8484.zip
CMake-89595d6bceb25ecfa221342f03d1c3dce70c8484.tar.gz
CMake-89595d6bceb25ecfa221342f03d1c3dce70c8484.tar.bz2
VS10: Define CMAKE_VS_PLATFORM_TOOLSET variable
When the VS 10 generator selects a non-default PlatformToolset to specify for MSBuild, report the selected name in this variable.
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.h')
-rw-r--r--Source/cmGlobalVisualStudio10Generator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.h b/Source/cmGlobalVisualStudio10Generator.h
index a4a9d40..47ce790 100644
--- a/Source/cmGlobalVisualStudio10Generator.h
+++ b/Source/cmGlobalVisualStudio10Generator.h
@@ -38,6 +38,7 @@ public:
virtual const char* GetName() const {
return cmGlobalVisualStudio10Generator::GetActualName();}
static const char* GetActualName() {return "Visual Studio 10";}
+ virtual void AddPlatformDefinitions(cmMakefile* mf);
/** Get the documentation entry for this generator. */
virtual void GetDocumentation(cmDocumentationEntry& entry) const;