Visual Studio 9 2008.rst 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. Visual Studio 9 2008
  2. --------------------
  3. Deprecated. Generates Visual Studio 9 2008 project files.
  4. .. note::
  5. This generator is deprecated and will be removed in a future version
  6. of CMake. It will still be possible to build with VS 9 2008 tools
  7. using the :generator:`Visual Studio 12 2013` generator (or above,
  8. and with VS 10 2010 also installed) with
  9. :variable:`CMAKE_GENERATOR_TOOLSET` set to ``v90``,
  10. or by using the :generator:`NMake Makefiles` generator.
  11. Platform Selection
  12. ^^^^^^^^^^^^^^^^^^
  13. The default target platform name (architecture) is ``Win32``.
  14. .. versionadded:: 3.1
  15. The :variable:`CMAKE_GENERATOR_PLATFORM` variable may be set, perhaps
  16. via the :option:`cmake -A` option, to specify a target platform
  17. name (architecture). For example:
  18. * ``cmake -G "Visual Studio 9 2008" -A Win32``
  19. * ``cmake -G "Visual Studio 9 2008" -A x64``
  20. * ``cmake -G "Visual Studio 9 2008" -A Itanium``
  21. * ``cmake -G "Visual Studio 9 2008" -A <WinCE-SDK>``
  22. (Specify a target platform matching a Windows CE SDK name.)
  23. For compatibility with CMake versions prior to 3.1, one may specify
  24. a target platform name optionally at the end of the generator name.
  25. This is supported only for:
  26. ``Visual Studio 9 2008 Win64``
  27. Specify target platform ``x64``.
  28. ``Visual Studio 9 2008 IA64``
  29. Specify target platform ``Itanium``.
  30. ``Visual Studio 9 2008 <WinCE-SDK>``
  31. Specify target platform matching a Windows CE SDK name.