Visual Studio 9 2008.rst 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. Visual Studio 9 2008
  2. --------------------
  3. Generates Visual Studio 9 2008 project files.
  4. Platform Selection
  5. ^^^^^^^^^^^^^^^^^^
  6. The default target platform name (architecture) is ``Win32``.
  7. .. versionadded:: 3.1
  8. The :variable:`CMAKE_GENERATOR_PLATFORM` variable may be set, perhaps
  9. via the :manual:`cmake(1)` ``-A`` option, to specify a target platform
  10. name (architecture). For example:
  11. * ``cmake -G "Visual Studio 9 2008" -A Win32``
  12. * ``cmake -G "Visual Studio 9 2008" -A x64``
  13. * ``cmake -G "Visual Studio 9 2008" -A Itanium``
  14. * ``cmake -G "Visual Studio 9 2008" -A <WinCE-SDK>``
  15. (Specify a target platform matching a Windows CE SDK name.)
  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 9 2008 Win64``
  20. Specify target platform ``x64``.
  21. ``Visual Studio 9 2008 IA64``
  22. Specify target platform ``Itanium``.
  23. ``Visual Studio 9 2008 <WinCE-SDK>``
  24. Specify target platform matching a Windows CE SDK name.