4 Deprecated. Generates Visual Studio 11 (VS 2012) project files.
7 This generator is deprecated and will be removed in a future version
8 of CMake. It will still be possible to build with VS 11 2012 tools
9 using the :generator:`Visual Studio 12 2013` (or above) generator
10 with :variable:`CMAKE_GENERATOR_TOOLSET` set to ``v110``, or by
11 using the :generator:`NMake Makefiles` generator.
13 For compatibility with CMake versions prior to 3.0, one may specify this
14 generator using the name "Visual Studio 11" without the year component.
19 Only Visual C++ and C# projects may be generated (and Fortran with
20 Intel compiler integration). Other types of projects (JavaScript,
21 Database, Website, etc.) are not supported.
26 The default target platform name (architecture) is ``Win32``.
29 The :variable:`CMAKE_GENERATOR_PLATFORM` variable may be set, perhaps
30 via the :option:`cmake -A` option, to specify a target platform
31 name (architecture). For example:
33 * ``cmake -G "Visual Studio 11 2012" -A Win32``
34 * ``cmake -G "Visual Studio 11 2012" -A x64``
35 * ``cmake -G "Visual Studio 11 2012" -A ARM``
36 * ``cmake -G "Visual Studio 11 2012" -A <WinCE-SDK>``
37 (Specify a target platform matching a Windows CE SDK name.)
39 For compatibility with CMake versions prior to 3.1, one may specify
40 a target platform name optionally at the end of the generator name.
41 This is supported only for:
43 ``Visual Studio 11 2012 Win64``
44 Specify target platform ``x64``.
46 ``Visual Studio 11 2012 ARM``
47 Specify target platform ``ARM``.
49 ``Visual Studio 11 2012 <WinCE-SDK>``
50 Specify target platform matching a Windows CE SDK name.
55 The ``v110`` toolset that comes with Visual Studio 11 2012 is selected by
56 default. The :variable:`CMAKE_GENERATOR_TOOLSET` option may be set, perhaps
57 via the :option:`cmake -T` option, to specify another toolset.