Visual Studio 14 2015.rst 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. Visual Studio 14 2015
  2. ---------------------
  3. Generates Visual Studio 14 (VS 2015) project files.
  4. Project Types
  5. ^^^^^^^^^^^^^
  6. Only Visual C++ and C# projects may be generated. Other types of
  7. projects (JavaScript, Powershell, Python, etc.) are not supported.
  8. Platform Selection
  9. ^^^^^^^^^^^^^^^^^^
  10. The :variable:`CMAKE_GENERATOR_PLATFORM` variable may be set, perhaps
  11. via the :manual:`cmake(1)` ``-A`` option, to specify a target platform
  12. name (architecture). For example:
  13. * ``cmake -G "Visual Studio 14 2015" -A Win32``
  14. * ``cmake -G "Visual Studio 14 2015" -A x64``
  15. * ``cmake -G "Visual Studio 14 2015" -A ARM``
  16. For compatibility with CMake versions prior to 3.1, one may specify
  17. a target platform name optionally at the end of the generator name.
  18. This is supported only for:
  19. ``Visual Studio 14 2015 Win64``
  20. Specify target platform ``x64``.
  21. ``Visual Studio 14 2015 ARM``
  22. Specify target platform ``ARM``.
  23. Toolset Selection
  24. ^^^^^^^^^^^^^^^^^
  25. The ``v140`` toolset that comes with Visual Studio 14 2015 is selected by
  26. default. The :variable:`CMAKE_GENERATOR_TOOLSET` option may be set, perhaps
  27. via the :manual:`cmake(1)` ``-T`` option, to specify another toolset.
  28. .. include:: VS_TOOLSET_HOST_ARCH.txt