Visual Studio 9 2008.rst 1023 B

1234567891011121314151617181920212223242526272829303132
  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. The :variable:`CMAKE_GENERATOR_PLATFORM` variable may be set, perhaps
  8. via the :manual:`cmake(1)` ``-A`` option, to specify a target platform
  9. name (architecture). For example:
  10. * ``cmake -G "Visual Studio 9 2008" -A Win32``
  11. * ``cmake -G "Visual Studio 9 2008" -A x64``
  12. * ``cmake -G "Visual Studio 9 2008" -A Itanium``
  13. * ``cmake -G "Visual Studio 9 2008" -A <WinCE-SDK>``
  14. (Specify a target platform matching a Windows CE SDK name.)
  15. For compatibility with CMake versions prior to 3.1, one may specify
  16. a target platform name optionally at the end of the generator name.
  17. This is supported only for:
  18. ``Visual Studio 9 2008 Win64``
  19. Specify target platform ``x64``.
  20. ``Visual Studio 9 2008 IA64``
  21. Specify target platform ``Itanium``.
  22. ``Visual Studio 9 2008 <WinCE-SDK>``
  23. Specify target platform matching a Windows CE SDK name.