cmake/Help/generator/Visual Studio 9 2008.rst

42 lines
1.4 KiB
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
Visual Studio 9 2008
--------------------
2023-07-02 19:51:09 +02:00
Deprecated. Generates Visual Studio 9 2008 project files.
.. note::
This generator is deprecated and will be removed in a future version
of CMake. It will still be possible to build with VS 9 2008 tools
2023-12-07 09:12:54 +01:00
using the :generator:`Visual Studio 14 2015` generator (or above,
2023-07-02 19:51:09 +02:00
and with VS 10 2010 also installed) with
:variable:`CMAKE_GENERATOR_TOOLSET` set to ``v90``,
or by using the :generator:`NMake Makefiles` generator.
2014-08-03 19:52:23 +02:00
2018-10-28 12:09:07 +01:00
Platform Selection
^^^^^^^^^^^^^^^^^^
2019-11-11 23:01:05 +01:00
The default target platform name (architecture) is ``Win32``.
2021-09-14 00:13:48 +02:00
.. versionadded:: 3.1
The :variable:`CMAKE_GENERATOR_PLATFORM` variable may be set, perhaps
2022-11-16 20:14:03 +01:00
via the :option:`cmake -A` option, to specify a target platform
2021-09-14 00:13:48 +02:00
name (architecture). For example:
* ``cmake -G "Visual Studio 9 2008" -A Win32``
* ``cmake -G "Visual Studio 9 2008" -A x64``
* ``cmake -G "Visual Studio 9 2008" -A Itanium``
* ``cmake -G "Visual Studio 9 2008" -A <WinCE-SDK>``
(Specify a target platform matching a Windows CE SDK name.)
2015-04-27 22:25:09 +02:00
For compatibility with CMake versions prior to 3.1, one may specify
2018-10-28 12:09:07 +01:00
a target platform name optionally at the end of the generator name.
This is supported only for:
2015-04-27 22:25:09 +02:00
``Visual Studio 9 2008 Win64``
Specify target platform ``x64``.
``Visual Studio 9 2008 IA64``
Specify target platform ``Itanium``.
``Visual Studio 9 2008 <WinCE-SDK>``
Specify target platform matching a Windows CE SDK name.