diff options
author | Brad King <brad.king@kitware.com> | 2013-10-28 14:08:11 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-10-28 17:43:14 (GMT) |
commit | 29071fed2efbc7857f3994ac746641a4c5a36b9d (patch) | |
tree | 9a03032b070863099f98867b920bbb78d741b7b7 /Source/cmGlobalVisualStudio12Generator.h | |
parent | 16df2456a440d87fb3e8e53fb59a2817b288b9af (diff) | |
download | CMake-29071fed2efbc7857f3994ac746641a4c5a36b9d.zip CMake-29071fed2efbc7857f3994ac746641a4c5a36b9d.tar.gz CMake-29071fed2efbc7857f3994ac746641a4c5a36b9d.tar.bz2 |
VS: Add version year to generator names
Rename the Visual Studio >= 10 generators to indicate the version year:
Visual Studio 10 => Visual Studio 10 2010
Visual Studio 11 => Visual Studio 11 2012
Visual Studio 12 => Visual Stduio 12 2013
Report the names with the year to the list of available generators so
that the cmake-gui drop-down shows the years. When selecting a
generator from the "-G" option or from an existing CMAKE_GENERATOR cache
entry, recognize names without the years for compatibility and map them
to the names with years.
Update the generator names in the cmake-generators.7 manual.
Diffstat (limited to 'Source/cmGlobalVisualStudio12Generator.h')
-rw-r--r-- | Source/cmGlobalVisualStudio12Generator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio12Generator.h b/Source/cmGlobalVisualStudio12Generator.h index 8c8aeb1..5a4a78d 100644 --- a/Source/cmGlobalVisualStudio12Generator.h +++ b/Source/cmGlobalVisualStudio12Generator.h @@ -24,6 +24,8 @@ public: const char* platformName, const char* additionalPlatformDefinition); static cmGlobalGeneratorFactory* NewFactory(); + virtual bool MatchesGeneratorName(const char* name) const; + virtual void WriteSLNHeader(std::ostream& fout); ///! create the correct local generator |