code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_DEBUGGER_WORKING_DIRECTORY — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_GLOBALS" href="CMAKE_VS_GLOBALS.html" />
    <link rel="prev" title="CMAKE_VS_DEBUGGER_ENVIRONMENT" href="CMAKE_VS_DEBUGGER_ENVIRONMENT.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_DEBUGGER_WORKING_DIRECTORY

CMAKE_VS_DEBUGGER_WORKING_DIRECTORY¶

New in version 3.27.

This variable is used to initialize the VS_DEBUGGER_WORKING_DIRECTORY
property on each target as it is created.  See that target property
for additional information.

Previous topic

CMAKE_VS_DEBUGGER_ENVIRONMENT

Next topic

CMAKE_VS_GLOBALS

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_DEBUGGER_WORKING_DIRECTORY

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_DEVENV_COMMAND — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_MSBUILD_COMMAND" href="CMAKE_VS_MSBUILD_COMMAND.html" />
    <link rel="prev" title="CMAKE_VERSION" href="CMAKE_VERSION.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_DEVENV_COMMAND

CMAKE_VS_DEVENV_COMMAND¶

The generators for Visual Studio 9 2008 and above set this
variable to the devenv.com command installed with the corresponding
Visual Studio version.  Note that this variable may be empty on
Visual Studio Express editions because they do not provide this tool.

This variable is not defined by other generators even if devenv.com
is installed on the computer.

The CMAKE_VS_MSBUILD_COMMAND is also provided for
Visual Studio 12 2013 and above.
See also the CMAKE_MAKE_PROGRAM variable.

Previous topic

CMAKE_VERSION

Next topic

CMAKE_VS_MSBUILD_COMMAND

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_DEVENV_COMMAND

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.

repo_name: lazytadpole/codenamesilverfish

license: mit


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_GLOBALS — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD" href="CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD.html" />
    <link rel="prev" title="CMAKE_VS_DEBUGGER_WORKING_DIRECTORY" href="CMAKE_VS_DEBUGGER_WORKING_DIRECTORY.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_GLOBALS

CMAKE_VS_GLOBALS¶

New in version 3.13.

List of Key=Value records to be set per target as target properties
VS_GLOBAL_<variable> with variable=Key and value Value.

For example:

set(CMAKE_VS_GLOBALS
  "DefaultLanguage=en-US"
  "MinimumVisualStudioVersion=14.0"
  )

will set properties VS_GLOBAL_DefaultLanguage to en-US and
VS_GLOBAL_MinimumVisualStudioVersion to 14.0 for all targets
(except for INTERFACE libraries).

This variable is meant to be set by a
toolchain file.

Previous topic

CMAKE_VS_DEBUGGER_WORKING_DIRECTORY

Next topic

CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_GLOBALS

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_INCLUDE_PACKAGE_TO_DEFAULT_BUILD" href="CMAKE_VS_INCLUDE_PACKAGE_TO_DEFAULT_BUILD.html" />
    <link rel="prev" title="CMAKE_VS_GLOBALS" href="CMAKE_VS_GLOBALS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD

CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD¶

New in version 3.3.

Include INSTALL target to default build.

In Visual Studio solution, by default the INSTALL target will not be part
of the default build. Setting this variable will enable the INSTALL target
to be part of the default build.

Previous topic

CMAKE_VS_GLOBALS

Next topic

CMAKE_VS_INCLUDE_PACKAGE_TO_DEFAULT_BUILD

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_INCLUDE_PACKAGE_TO_DEFAULT_BUILD — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_JUST_MY_CODE_DEBUGGING" href="CMAKE_VS_JUST_MY_CODE_DEBUGGING.html" />
    <link rel="prev" title="CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD" href="CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_INCLUDE_PACKAGE_TO_DEFAULT_BUILD

CMAKE_VS_INCLUDE_PACKAGE_TO_DEFAULT_BUILD¶

New in version 3.8.

Include PACKAGE target to default build.

In Visual Studio solution, by default the PACKAGE target will not be part
of the default build. Setting this variable will enable the PACKAGE target
to be part of the default build.

Previous topic

CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD

Next topic

CMAKE_VS_JUST_MY_CODE_DEBUGGING

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_INCLUDE_PACKAGE_TO_DEFAULT_BUILD

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_INTEL_Fortran_PROJECT_VERSION — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_EXTRA_GENERATOR" href="CMAKE_EXTRA_GENERATOR.html" />
    <link rel="prev" title="CMAKE_NOT_USING_CONFIG_FLAGS" href="CMAKE_NOT_USING_CONFIG_FLAGS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_INTEL_Fortran_PROJECT_VERSION

CMAKE_VS_INTEL_Fortran_PROJECT_VERSION¶

When generating for Visual Studio 9 2008 or greater with the Intel
Fortran plugin installed, this specifies the .vfproj project file format
version.  This is intended for internal use by CMake and should not be
used by project code.

Previous topic

CMAKE_NOT_USING_CONFIG_FLAGS

Next topic

CMAKE_EXTRA_GENERATOR

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_INTEL_Fortran_PROJECT_VERSION

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_JUST_MY_CODE_DEBUGGING — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_NO_COMPILE_BATCHING" href="CMAKE_VS_NO_COMPILE_BATCHING.html" />
    <link rel="prev" title="CMAKE_VS_INCLUDE_PACKAGE_TO_DEFAULT_BUILD" href="CMAKE_VS_INCLUDE_PACKAGE_TO_DEFAULT_BUILD.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_JUST_MY_CODE_DEBUGGING

CMAKE_VS_JUST_MY_CODE_DEBUGGING¶

New in version 3.15.

Enable Just My Code with Visual Studio debugger.

This variable is used to initialize the VS_JUST_MY_CODE_DEBUGGING
property on all targets when they are created.  See that target property for
additional information.

Previous topic

CMAKE_VS_INCLUDE_PACKAGE_TO_DEFAULT_BUILD

Next topic

CMAKE_VS_NO_COMPILE_BATCHING

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_JUST_MY_CODE_DEBUGGING

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_MSBUILD_COMMAND — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_NsightTegra_VERSION" href="CMAKE_VS_NsightTegra_VERSION.html" />
    <link rel="prev" title="CMAKE_VS_DEVENV_COMMAND" href="CMAKE_VS_DEVENV_COMMAND.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_MSBUILD_COMMAND

CMAKE_VS_MSBUILD_COMMAND¶

The generators for Visual Studio 12 2013 and above set this
variable to the MSBuild.exe command installed with the corresponding
Visual Studio version.

This variable is not defined by other generators even if MSBuild.exe
is installed on the computer.

The CMAKE_VS_DEVENV_COMMAND is also provided for the
non-Express editions of Visual Studio.
See also the CMAKE_MAKE_PROGRAM variable.

Previous topic

CMAKE_VS_DEVENV_COMMAND

Next topic

CMAKE_VS_NsightTegra_VERSION

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_MSBUILD_COMMAND

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_NO_COMPILE_BATCHING — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_SDK_EXCLUDE_DIRECTORIES" href="CMAKE_VS_SDK_EXCLUDE_DIRECTORIES.html" />
    <link rel="prev" title="CMAKE_VS_JUST_MY_CODE_DEBUGGING" href="CMAKE_VS_JUST_MY_CODE_DEBUGGING.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_NO_COMPILE_BATCHING

CMAKE_VS_NO_COMPILE_BATCHING¶

New in version 3.24.

Turn off compile batching when using Visual Studio Generators.

This variable is used to initialize the VS_NO_COMPILE_BATCHING
property on all targets when they are created.  See that target property for
additional information.

Example¶

This shows setting the property for the target foo using the variable.

set(CMAKE_VS_NO_COMPILE_BATCHING ON)
add_library(foo SHARED foo.cpp)

Table of Contents

CMAKE_VS_NO_COMPILE_BATCHING

Example

Previous topic

CMAKE_VS_JUST_MY_CODE_DEBUGGING

Next topic

CMAKE_VS_SDK_EXCLUDE_DIRECTORIES

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_NO_COMPILE_BATCHING

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_NUGET_PACKAGE_RESTORE — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_PLATFORM_NAME" href="CMAKE_VS_PLATFORM_NAME.html" />
    <link rel="prev" title="CMAKE_VS_NsightTegra_VERSION" href="CMAKE_VS_NsightTegra_VERSION.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_NUGET_PACKAGE_RESTORE

CMAKE_VS_NUGET_PACKAGE_RESTORE¶

New in version 3.23.

When using a Visual Studio generator, this cache variable controls
if msbuild should automatically attempt to restore NuGet packages
prior to a build. NuGet packages can be defined using the
VS_PACKAGE_REFERENCES property on a target. If no
package references are defined, this setting will do nothing.

The command line option --resolve-package-references can be used
alternatively to control the resolve behavior globally. This option
will take precedence over the cache variable.

Targets that use the DOTNET_SDK are required to run a
restore before building. Disabling this option may cause the build
to fail in such projects.

This setting is stored as a cache entry. Default value is ON.

See also the VS_PACKAGE_REFERENCES property.

Previous topic

CMAKE_VS_NsightTegra_VERSION

Next topic

CMAKE_VS_PLATFORM_NAME

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_NUGET_PACKAGE_RESTORE

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_NsightTegra_VERSION — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_NUGET_PACKAGE_RESTORE" href="CMAKE_VS_NUGET_PACKAGE_RESTORE.html" />
    <link rel="prev" title="CMAKE_VS_MSBUILD_COMMAND" href="CMAKE_VS_MSBUILD_COMMAND.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_NsightTegra_VERSION

CMAKE_VS_NsightTegra_VERSION¶

New in version 3.1.

When using a Visual Studio generator with the
CMAKE_SYSTEM_NAME variable set to Android,
this variable contains the version number of the
installed NVIDIA Nsight Tegra Visual Studio Edition.

Previous topic

CMAKE_VS_MSBUILD_COMMAND

Next topic

CMAKE_VS_NUGET_PACKAGE_RESTORE

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_NsightTegra_VERSION

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_PLATFORM_NAME — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_PLATFORM_NAME_DEFAULT" href="CMAKE_VS_PLATFORM_NAME_DEFAULT.html" />
    <link rel="prev" title="CMAKE_VS_NUGET_PACKAGE_RESTORE" href="CMAKE_VS_NUGET_PACKAGE_RESTORE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_PLATFORM_NAME

CMAKE_VS_PLATFORM_NAME¶

New in version 3.1.

Visual Studio target platform name used by the current generator.

VS 8 and above allow project files to specify a target platform.
CMake provides the name of the chosen platform in this variable.
See the CMAKE_GENERATOR_PLATFORM variable for details.

See also the CMAKE_VS_PLATFORM_NAME_DEFAULT variable.

Previous topic

CMAKE_VS_NUGET_PACKAGE_RESTORE

Next topic

CMAKE_VS_PLATFORM_NAME_DEFAULT

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_PLATFORM_NAME

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_PLATFORM_NAME_DEFAULT — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_PLATFORM_TOOLSET" href="CMAKE_VS_PLATFORM_TOOLSET.html" />
    <link rel="prev" title="CMAKE_VS_PLATFORM_NAME" href="CMAKE_VS_PLATFORM_NAME.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_PLATFORM_NAME_DEFAULT

CMAKE_VS_PLATFORM_NAME_DEFAULT¶

New in version 3.14.3.

Default for the Visual Studio target platform name for the current generator
without considering the value of the CMAKE_GENERATOR_PLATFORM
variable.  For Visual Studio Generators for VS 2017 and below this is
always Win32.  For VS 2019 and above this is based on the host platform.

See also the CMAKE_VS_PLATFORM_NAME variable.

Previous topic

CMAKE_VS_PLATFORM_NAME

Next topic

CMAKE_VS_PLATFORM_TOOLSET

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_PLATFORM_NAME_DEFAULT

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_PLATFORM_TOOLSET — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_PLATFORM_TOOLSET_CUDA" href="CMAKE_VS_PLATFORM_TOOLSET_CUDA.html" />
    <link rel="prev" title="CMAKE_VS_PLATFORM_NAME_DEFAULT" href="CMAKE_VS_PLATFORM_NAME_DEFAULT.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_PLATFORM_TOOLSET

CMAKE_VS_PLATFORM_TOOLSET¶

Visual Studio Platform Toolset name.

VS 10 and above use MSBuild under the hood and support multiple
compiler toolchains.  CMake may specify a toolset explicitly, such as
v110 for VS 11 or Windows7.1SDK for 64-bit support in VS 10
Express.  CMake provides the name of the chosen toolset in this
variable.

See the CMAKE_GENERATOR_TOOLSET variable for details.

Previous topic

CMAKE_VS_PLATFORM_NAME_DEFAULT

Next topic

CMAKE_VS_PLATFORM_TOOLSET_CUDA

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_PLATFORM_TOOLSET

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_PLATFORM_TOOLSET_CUDA — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_PLATFORM_TOOLSET_CUDA_CUSTOM_DIR" href="CMAKE_VS_PLATFORM_TOOLSET_CUDA_CUSTOM_DIR.html" />
    <link rel="prev" title="CMAKE_VS_PLATFORM_TOOLSET" href="CMAKE_VS_PLATFORM_TOOLSET.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_PLATFORM_TOOLSET_CUDA

CMAKE_VS_PLATFORM_TOOLSET_CUDA¶

New in version 3.9.

NVIDIA CUDA Toolkit version whose Visual Studio toolset to use.

The Visual Studio Generators for VS 2010 and above support using
a CUDA toolset provided by a CUDA Toolkit.  The toolset version number
may be specified by a field in CMAKE_GENERATOR_TOOLSET of
the form cuda=8.0. Or it is automatically detected if a path to
a standalone CUDA directory is specified in the form cuda=C:\path\to\cuda.
If none is specified CMake will choose a default version.
CMake provides the selected CUDA toolset version in this variable.
The value may be empty if no CUDA Toolkit with Visual Studio integration
is installed.

Previous topic

CMAKE_VS_PLATFORM_TOOLSET

Next topic

CMAKE_VS_PLATFORM_TOOLSET_CUDA_CUSTOM_DIR

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_PLATFORM_TOOLSET_CUDA

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_PLATFORM_TOOLSET_CUDA_CUSTOM_DIR — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_PLATFORM_TOOLSET_FORTRAN" href="CMAKE_VS_PLATFORM_TOOLSET_FORTRAN.html" />
    <link rel="prev" title="CMAKE_VS_PLATFORM_TOOLSET_CUDA" href="CMAKE_VS_PLATFORM_TOOLSET_CUDA.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_PLATFORM_TOOLSET_CUDA_CUSTOM_DIR

CMAKE_VS_PLATFORM_TOOLSET_CUDA_CUSTOM_DIR¶

New in version 3.16.

Path to standalone NVIDIA CUDA Toolkit (eg. extracted from installer).

The Visual Studio Generators for VS 2010 and above support using
a standalone (non-installed) NVIDIA CUDA toolkit.  The path
may be specified by a field in CMAKE_GENERATOR_TOOLSET of
the form cuda=C:\path\to\cuda.  The given directory must at least
contain the nvcc compiler in path .\bin and must provide Visual Studio
integration files in path .\extras\visual_studio_integration\
MSBuildExtensions\. One can create a standalone CUDA toolkit directory by
either opening a installer with 7zip or copying the files that are extracted
by the running installer. The value may be empty if no path to a standalone
CUDA Toolkit was specified.

Previous topic

CMAKE_VS_PLATFORM_TOOLSET_CUDA

Next topic

CMAKE_VS_PLATFORM_TOOLSET_FORTRAN

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_PLATFORM_TOOLSET_CUDA_CUSTOM_DIR

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_PLATFORM_TOOLSET_FORTRAN — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_PLATFORM_TOOLSET_HOST_ARCHITECTURE" href="CMAKE_VS_PLATFORM_TOOLSET_HOST_ARCHITECTURE.html" />
    <link rel="prev" title="CMAKE_VS_PLATFORM_TOOLSET_CUDA_CUSTOM_DIR" href="CMAKE_VS_PLATFORM_TOOLSET_CUDA_CUSTOM_DIR.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_PLATFORM_TOOLSET_FORTRAN

CMAKE_VS_PLATFORM_TOOLSET_FORTRAN¶

New in version 3.29.

Fortran compiler to be used by Visual Studio projects.

Visual Studio Generators support selecting among Fortran compilers
whose Visual Studio Integration is installed.  The compiler may be specified
by a field in CMAKE_GENERATOR_TOOLSET of the form fortran=....
CMake provides the selected Fortran compiler in this variable.
The value may be empty if the field was not specified.

Previous topic

CMAKE_VS_PLATFORM_TOOLSET_CUDA_CUSTOM_DIR

Next topic

CMAKE_VS_PLATFORM_TOOLSET_HOST_ARCHITECTURE

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_PLATFORM_TOOLSET_FORTRAN

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_PLATFORM_TOOLSET_HOST_ARCHITECTURE — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_PLATFORM_TOOLSET_VERSION" href="CMAKE_VS_PLATFORM_TOOLSET_VERSION.html" />
    <link rel="prev" title="CMAKE_VS_PLATFORM_TOOLSET_FORTRAN" href="CMAKE_VS_PLATFORM_TOOLSET_FORTRAN.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_PLATFORM_TOOLSET_HOST_ARCHITECTURE

CMAKE_VS_PLATFORM_TOOLSET_HOST_ARCHITECTURE¶

New in version 3.8.

Visual Studio preferred tool architecture.

The Visual Studio Generators for VS 2013 and above support using
either the 32-bit or 64-bit host toolchains by specifying a host=x86
or host=x64 value in the CMAKE_GENERATOR_TOOLSET option.
CMake provides the selected toolchain architecture preference in this
variable (x86, x64, ARM64 or empty).

Previous topic

CMAKE_VS_PLATFORM_TOOLSET_FORTRAN

Next topic

CMAKE_VS_PLATFORM_TOOLSET_VERSION

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_PLATFORM_TOOLSET_HOST_ARCHITECTURE

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_PLATFORM_TOOLSET_VERSION — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_TARGET_FRAMEWORK_IDENTIFIER" href="CMAKE_VS_TARGET_FRAMEWORK_IDENTIFIER.html" />
    <link rel="prev" title="CMAKE_VS_PLATFORM_TOOLSET_HOST_ARCHITECTURE" href="CMAKE_VS_PLATFORM_TOOLSET_HOST_ARCHITECTURE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_PLATFORM_TOOLSET_VERSION

CMAKE_VS_PLATFORM_TOOLSET_VERSION¶

New in version 3.12.

Visual Studio Platform Toolset version.

The Visual Studio Generators for VS 2017 and above allow to
select minor versions of the same toolset. The toolset version number
may be specified by a field in CMAKE_GENERATOR_TOOLSET of
the form version=14.11. If none is specified CMake will choose a default
toolset. The value may be empty if no minor version was selected and the
default is used.

If the value is not empty, it is the version number that MSBuild uses in
its Microsoft.VCToolsVersion.*.props file names.

New in version 3.19.7: VS 16.9's toolset may also be specified as 14.28.16.9 because
VS 16.10 uses the file name Microsoft.VCToolsVersion.14.28.16.9.props.

Three-Component MSVC Toolset Versions¶

New in version 3.19.7.

The version= field may be given a three-component toolset version
such as 14.28.29910, and CMake will convert it to the name used by
MSBuild Microsoft.VCToolsVersion.*.props files.  This is useful
to distinguish between VS 16.8's 14.28.29333 toolset and VS 16.9's
14.28.29910 toolset.  It also matches vcvarsall's -vcvars_ver=
behavior.

Table of Contents

CMAKE_VS_PLATFORM_TOOLSET_VERSION

Three-Component MSVC Toolset Versions

Previous topic

CMAKE_VS_PLATFORM_TOOLSET_HOST_ARCHITECTURE

Next topic

CMAKE_VS_TARGET_FRAMEWORK_IDENTIFIER

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_PLATFORM_TOOLSET_VERSION

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_SDK_EXCLUDE_DIRECTORIES — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_SDK_EXECUTABLE_DIRECTORIES" href="CMAKE_VS_SDK_EXECUTABLE_DIRECTORIES.html" />
    <link rel="prev" title="CMAKE_VS_NO_COMPILE_BATCHING" href="CMAKE_VS_NO_COMPILE_BATCHING.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_SDK_EXCLUDE_DIRECTORIES

CMAKE_VS_SDK_EXCLUDE_DIRECTORIES¶

New in version 3.12.

This variable allows to override Visual Studio default Exclude Directories.

Previous topic

CMAKE_VS_NO_COMPILE_BATCHING

Next topic

CMAKE_VS_SDK_EXECUTABLE_DIRECTORIES

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_SDK_EXCLUDE_DIRECTORIES

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_SDK_EXECUTABLE_DIRECTORIES — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_SDK_INCLUDE_DIRECTORIES" href="CMAKE_VS_SDK_INCLUDE_DIRECTORIES.html" />
    <link rel="prev" title="CMAKE_VS_SDK_EXCLUDE_DIRECTORIES" href="CMAKE_VS_SDK_EXCLUDE_DIRECTORIES.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_SDK_EXECUTABLE_DIRECTORIES

CMAKE_VS_SDK_EXECUTABLE_DIRECTORIES¶

New in version 3.12.

This variable allows to override Visual Studio default Executable Directories.

Previous topic

CMAKE_VS_SDK_EXCLUDE_DIRECTORIES

Next topic

CMAKE_VS_SDK_INCLUDE_DIRECTORIES

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_SDK_EXECUTABLE_DIRECTORIES

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_SDK_INCLUDE_DIRECTORIES — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_SDK_LIBRARY_DIRECTORIES" href="CMAKE_VS_SDK_LIBRARY_DIRECTORIES.html" />
    <link rel="prev" title="CMAKE_VS_SDK_EXECUTABLE_DIRECTORIES" href="CMAKE_VS_SDK_EXECUTABLE_DIRECTORIES.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_SDK_INCLUDE_DIRECTORIES

CMAKE_VS_SDK_INCLUDE_DIRECTORIES¶

New in version 3.12.

This variable allows to override Visual Studio default Include Directories.

Previous topic

CMAKE_VS_SDK_EXECUTABLE_DIRECTORIES

Next topic

CMAKE_VS_SDK_LIBRARY_DIRECTORIES

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_SDK_INCLUDE_DIRECTORIES

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_SDK_LIBRARY_DIRECTORIES — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_SDK_LIBRARY_WINRT_DIRECTORIES" href="CMAKE_VS_SDK_LIBRARY_WINRT_DIRECTORIES.html" />
    <link rel="prev" title="CMAKE_VS_SDK_INCLUDE_DIRECTORIES" href="CMAKE_VS_SDK_INCLUDE_DIRECTORIES.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_SDK_LIBRARY_DIRECTORIES

CMAKE_VS_SDK_LIBRARY_DIRECTORIES¶

New in version 3.12.

This variable allows to override Visual Studio default Library Directories.

Previous topic

CMAKE_VS_SDK_INCLUDE_DIRECTORIES

Next topic

CMAKE_VS_SDK_LIBRARY_WINRT_DIRECTORIES

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_SDK_LIBRARY_DIRECTORIES

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_SDK_LIBRARY_WINRT_DIRECTORIES — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_SDK_REFERENCE_DIRECTORIES" href="CMAKE_VS_SDK_REFERENCE_DIRECTORIES.html" />
    <link rel="prev" title="CMAKE_VS_SDK_LIBRARY_DIRECTORIES" href="CMAKE_VS_SDK_LIBRARY_DIRECTORIES.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_SDK_LIBRARY_WINRT_DIRECTORIES

CMAKE_VS_SDK_LIBRARY_WINRT_DIRECTORIES¶

New in version 3.12.

This variable allows to override Visual Studio default Library WinRT
Directories.

Previous topic

CMAKE_VS_SDK_LIBRARY_DIRECTORIES

Next topic

CMAKE_VS_SDK_REFERENCE_DIRECTORIES

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_SDK_LIBRARY_WINRT_DIRECTORIES

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_SDK_REFERENCE_DIRECTORIES — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_SDK_SOURCE_DIRECTORIES" href="CMAKE_VS_SDK_SOURCE_DIRECTORIES.html" />
    <link rel="prev" title="CMAKE_VS_SDK_LIBRARY_WINRT_DIRECTORIES" href="CMAKE_VS_SDK_LIBRARY_WINRT_DIRECTORIES.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_SDK_REFERENCE_DIRECTORIES

CMAKE_VS_SDK_REFERENCE_DIRECTORIES¶

New in version 3.12.

This variable allows to override Visual Studio default Reference Directories.

Previous topic

CMAKE_VS_SDK_LIBRARY_WINRT_DIRECTORIES

Next topic

CMAKE_VS_SDK_SOURCE_DIRECTORIES

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_SDK_REFERENCE_DIRECTORIES

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_SDK_SOURCE_DIRECTORIES — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_WINRT_BY_DEFAULT" href="CMAKE_VS_WINRT_BY_DEFAULT.html" />
    <link rel="prev" title="CMAKE_VS_SDK_REFERENCE_DIRECTORIES" href="CMAKE_VS_SDK_REFERENCE_DIRECTORIES.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_SDK_SOURCE_DIRECTORIES

CMAKE_VS_SDK_SOURCE_DIRECTORIES¶

New in version 3.12.

This variable allows to override Visual Studio default Source Directories.

Previous topic

CMAKE_VS_SDK_REFERENCE_DIRECTORIES

Next topic

CMAKE_VS_WINRT_BY_DEFAULT

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_SDK_SOURCE_DIRECTORIES

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_TARGET_FRAMEWORK_IDENTIFIER — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_TARGET_FRAMEWORK_TARGETS_VERSION" href="CMAKE_VS_TARGET_FRAMEWORK_TARGETS_VERSION.html" />
    <link rel="prev" title="CMAKE_VS_PLATFORM_TOOLSET_VERSION" href="CMAKE_VS_PLATFORM_TOOLSET_VERSION.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_TARGET_FRAMEWORK_IDENTIFIER

CMAKE_VS_TARGET_FRAMEWORK_IDENTIFIER¶

New in version 3.22.

Visual Studio target framework identifier.

In some cases, the Visual Studio Generators may use an explicit value
for the MSBuild TargetFrameworkIdentifier setting in .csproj files.
CMake provides the chosen value in this variable.

See also CMAKE_VS_TARGET_FRAMEWORK_VERSION and
CMAKE_VS_TARGET_FRAMEWORK_TARGETS_VERSION.

Previous topic

CMAKE_VS_PLATFORM_TOOLSET_VERSION

Next topic

CMAKE_VS_TARGET_FRAMEWORK_TARGETS_VERSION

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_TARGET_FRAMEWORK_IDENTIFIER

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_TARGET_FRAMEWORK_TARGETS_VERSION — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_TARGET_FRAMEWORK_VERSION" href="CMAKE_VS_TARGET_FRAMEWORK_VERSION.html" />
    <link rel="prev" title="CMAKE_VS_TARGET_FRAMEWORK_IDENTIFIER" href="CMAKE_VS_TARGET_FRAMEWORK_IDENTIFIER.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_TARGET_FRAMEWORK_TARGETS_VERSION

CMAKE_VS_TARGET_FRAMEWORK_TARGETS_VERSION¶

New in version 3.22.

Visual Studio target framework targets version.

In some cases, the Visual Studio Generators may use an explicit value
for the MSBuild TargetFrameworkTargetsVersion setting in .csproj files.
CMake provides the chosen value in this variable.

See also CMAKE_VS_TARGET_FRAMEWORK_VERSION and
CMAKE_VS_TARGET_FRAMEWORK_IDENTIFIER.

Previous topic

CMAKE_VS_TARGET_FRAMEWORK_IDENTIFIER

Next topic

CMAKE_VS_TARGET_FRAMEWORK_VERSION

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_TARGET_FRAMEWORK_TARGETS_VERSION

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_TARGET_FRAMEWORK_VERSION — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_VERSION_BUILD_NUMBER" href="CMAKE_VS_VERSION_BUILD_NUMBER.html" />
    <link rel="prev" title="CMAKE_VS_TARGET_FRAMEWORK_TARGETS_VERSION" href="CMAKE_VS_TARGET_FRAMEWORK_TARGETS_VERSION.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_TARGET_FRAMEWORK_VERSION

CMAKE_VS_TARGET_FRAMEWORK_VERSION¶

New in version 3.22.

Visual Studio target framework version.

In some cases, the Visual Studio Generators may use an explicit value
for the MSBuild TargetFrameworkVersion setting in .csproj files.
CMake provides the chosen value in this variable.

See the CMAKE_DOTNET_TARGET_FRAMEWORK_VERSION variable
and DOTNET_TARGET_FRAMEWORK_VERSION target property to
specify custom TargetFrameworkVersion values for project targets.

See also CMAKE_VS_TARGET_FRAMEWORK_IDENTIFIER and
CMAKE_VS_TARGET_FRAMEWORK_TARGETS_VERSION.

Previous topic

CMAKE_VS_TARGET_FRAMEWORK_TARGETS_VERSION

Next topic

CMAKE_VS_VERSION_BUILD_NUMBER

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_TARGET_FRAMEWORK_VERSION

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_VERSION_BUILD_NUMBER — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION" href="CMAKE_VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION.html" />
    <link rel="prev" title="CMAKE_VS_TARGET_FRAMEWORK_VERSION" href="CMAKE_VS_TARGET_FRAMEWORK_VERSION.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_VERSION_BUILD_NUMBER

CMAKE_VS_VERSION_BUILD_NUMBER¶

New in version 3.26.

Visual Studio version.

Visual Studio Generators for VS 2017 and above set this
variable to the Visual Studio version build number in the format
<major>.<minor>.<date>.<build>.

The components are:

<major>.<minor>

The VS major and minor version numbers.
These are the same as the release version numbers.

<date>

A build date in the format MMMDD, where MMM is a month index
since an epoch used by Microsoft, and DD is a day in that month.

<build>

A build index on the day represented by <date>.

The build number is reported by vswhere as installationVersion.
For example, VS 16.11.10 has build number 16.11.32126.315.

See also the CMAKE_GENERATOR_INSTANCE variable.

Previous topic

CMAKE_VS_TARGET_FRAMEWORK_VERSION

Next topic

CMAKE_VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_VERSION_BUILD_NUMBER

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION" href="CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION.html" />
    <link rel="prev" title="CMAKE_VS_VERSION_BUILD_NUMBER" href="CMAKE_VS_VERSION_BUILD_NUMBER.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION

CMAKE_VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION¶

New in version 3.27.

Tell Visual Studio Generators to use the given
Windows Target Platform Minimum Version.

This variable is used to initialize the
VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION property on all
targets when they are created.  See that target property for
additional information.

Previous topic

CMAKE_VS_VERSION_BUILD_NUMBER

Next topic

CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION_MAXIMUM" href="CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION_MAXIMUM.html" />
    <link rel="prev" title="CMAKE_VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION" href="CMAKE_VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION

CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION¶

New in version 3.4.

Visual Studio Windows Target Platform Version.

When targeting Windows 10 and above, Visual Studio Generators for
VS 2015 and above support specification of a Windows SDK version:

If CMAKE_GENERATOR_PLATFORM specifies a version= field,
as documented by Visual Studio Platform Selection, that SDK
version is selected.

Otherwise, if the WindowsSDKVersion environment variable
is set to an available SDK version, that version is selected.
This is intended for use in environments established by vcvarsall.bat
or similar scripts.

New in version 3.27: This is enabled by policy CMP0149.

Otherwise, if CMAKE_SYSTEM_VERSION is set to an available
SDK version, that version is selected.

Changed in version 3.27: This is disabled by policy CMP0149.

Otherwise, CMake uses the latest Windows SDK version available.

The chosen Windows target version number is provided
in CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION.  If no Windows 10 SDK
is available this value will be empty.

One may set a CMAKE_WINDOWS_KITS_10_DIR environment variable
to an absolute path to tell CMake to look for Windows 10 SDKs in
a custom location.  The specified directory is expected to contain
Include/10.0.* directories.

See also CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION_MAXIMUM.

Previous topic

CMAKE_VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION

Next topic

CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION_MAXIMUM

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION_MAXIMUM — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_XCODE_BUILD_SYSTEM" href="CMAKE_XCODE_BUILD_SYSTEM.html" />
    <link rel="prev" title="CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION" href="CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION_MAXIMUM

CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION_MAXIMUM¶

New in version 3.19.

Override the Windows 10 SDK Maximum Version for VS 2015 and beyond.

The CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION_MAXIMUM variable may
be set to a false value (e.g. OFF, FALSE, or 0) or the SDK version
to use as the maximum (e.g. 10.0.14393.0).  If unset, the default depends
on which version of Visual Studio is targeted by the current generator.

This can be used to exclude Windows SDK versions from consideration for
CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION.

Previous topic

CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION

Next topic

CMAKE_XCODE_BUILD_SYSTEM

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION_MAXIMUM

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_VS_WINRT_BY_DEFAULT — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_WATCOM_RUNTIME_LIBRARY" href="CMAKE_WATCOM_RUNTIME_LIBRARY.html" />
    <link rel="prev" title="CMAKE_VS_SDK_SOURCE_DIRECTORIES" href="CMAKE_VS_SDK_SOURCE_DIRECTORIES.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_WINRT_BY_DEFAULT

CMAKE_VS_WINRT_BY_DEFAULT¶

New in version 3.13.

Inform Visual Studio Generators for VS 2010 and above that the
target platform enables WinRT compilation by default and it needs to
be explicitly disabled if /ZW or VS_WINRT_COMPONENT is
omitted (as opposed to enabling it when either of those options is
present)

This makes cmake configuration consistent in terms of WinRT among
platforms - if you did not enable the WinRT compilation explicitly, it
will be disabled (by either not enabling it or explicitly disabling it)

Note: WinRT compilation is always explicitly disabled for C language
source files, even if it is expliclty enabled for a project

This variable is meant to be set by a
toolchain file for such platforms.

Previous topic

CMAKE_VS_SDK_SOURCE_DIRECTORIES

Next topic

CMAKE_WATCOM_RUNTIME_LIBRARY

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_WINRT_BY_DEFAULT

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_WARN_DEPRECATED — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION" href="CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION.html" />
    <link rel="prev" title="CMAKE_USER_MAKE_RULES_OVERRIDE" href="CMAKE_USER_MAKE_RULES_OVERRIDE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_WARN_DEPRECATED

CMAKE_WARN_DEPRECATED¶

Whether to issue warnings for deprecated functionality.

If not FALSE, use of deprecated functionality will issue warnings.
If this variable is not set, CMake behaves as if it were set to TRUE.

When running cmake(1), this option can be enabled with the
-Wdeprecated option, or disabled with the
-Wno-deprecated option.

Previous topic

CMAKE_USER_MAKE_RULES_OVERRIDE

Next topic

CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_WARN_DEPRECATED

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_XCODE_GENERATE_SCHEME" href="CMAKE_XCODE_GENERATE_SCHEME.html" />
    <link rel="prev" title="CMAKE_WARN_DEPRECATED" href="CMAKE_WARN_DEPRECATED.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION

CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION¶

Ask cmake_install.cmake script to warn each time a file with absolute
INSTALL DESTINATION is encountered.

This variable is used by CMake-generated cmake_install.cmake scripts.
If one sets this variable to ON while running the script, it may get
warning messages from the script.

Previous topic

CMAKE_WARN_DEPRECATED

Next topic

CMAKE_XCODE_GENERATE_SCHEME

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_WATCOM_RUNTIME_LIBRARY — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_WIN32_EXECUTABLE" href="CMAKE_WIN32_EXECUTABLE.html" />
    <link rel="prev" title="CMAKE_VS_WINRT_BY_DEFAULT" href="CMAKE_VS_WINRT_BY_DEFAULT.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_WATCOM_RUNTIME_LIBRARY

CMAKE_WATCOM_RUNTIME_LIBRARY¶

New in version 3.24.

Select the Watcom runtime library for use by compilers targeting the Watcom ABI.
This variable is used to initialize the WATCOM_RUNTIME_LIBRARY
property on all targets as they are created.  It is also propagated by
calls to the try_compile() command into the test project.

The allowed values are:

SingleThreaded

Compile without additional flags to use a single-threaded
statically-linked runtime library.

SingleThreadedDLL

Compile with -br or equivalent flag(s) to use a single-threaded
dynamically-linked runtime library. This is not available for Linux
targets.

MultiThreaded

Compile with -bm or equivalent flag(s) to use a multi-threaded
statically-linked runtime library.

MultiThreadedDLL

Compile with -bm -br or equivalent flag(s) to use a multi-threaded
dynamically-linked runtime library. This is not available for Linux
targets.

The value is ignored on non-Watcom compilers but an unsupported value will
be rejected as an error when using a compiler targeting the Watcom ABI.

The value may also be the empty string ("") in which case no runtime
library selection flag will be added explicitly by CMake.

Use generator expressions to
support per-configuration specification.

For example, the code:

set(CMAKE_WATCOM_RUNTIME_LIBRARY "MultiThreaded")

selects for all following targets a multi-threaded statically-linked runtime
library.

If this variable is not set then the WATCOM_RUNTIME_LIBRARY target
property will not be set automatically.  If that property is not set then
CMake uses the default value MultiThreadedDLL on Windows and
SingleThreaded on other platforms to select a Watcom runtime library.

Note

This variable has effect only when policy CMP0136 is set to NEW
prior to the first project() or enable_language() command
that enables a language using a compiler targeting the Watcom ABI.

Previous topic

CMAKE_VS_WINRT_BY_DEFAULT

Next topic

CMAKE_WIN32_EXECUTABLE

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_WATCOM_RUNTIME_LIBRARY

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_WIN32_EXECUTABLE — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS" href="CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS.html" />
    <link rel="prev" title="CMAKE_WATCOM_RUNTIME_LIBRARY" href="CMAKE_WATCOM_RUNTIME_LIBRARY.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_WIN32_EXECUTABLE

CMAKE_WIN32_EXECUTABLE¶

Default value for WIN32_EXECUTABLE of targets.

This variable is used to initialize the WIN32_EXECUTABLE property
on all the targets.  See that target property for additional information.

Previous topic

CMAKE_WATCOM_RUNTIME_LIBRARY

Next topic

CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_WIN32_EXECUTABLE

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_XCODE_ATTRIBUTE_<an-attribute>" href="CMAKE_XCODE_ATTRIBUTE_an-attribute.html" />
    <link rel="prev" title="CMAKE_WIN32_EXECUTABLE" href="CMAKE_WIN32_EXECUTABLE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS

CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS¶

New in version 3.4.

Default value for WINDOWS_EXPORT_ALL_SYMBOLS target property.
This variable is used to initialize the property on each target as it is
created.

Previous topic

CMAKE_WIN32_EXECUTABLE

Next topic

CMAKE_XCODE_ATTRIBUTE_<an-attribute>

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_XCODE_ATTRIBUTE_<an-attribute> — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="EXECUTABLE_OUTPUT_PATH" href="EXECUTABLE_OUTPUT_PATH.html" />
    <link rel="prev" title="CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS" href="CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_XCODE_ATTRIBUTE_<an-attribute>

<span id="variable:CMAKE_XCODE_ATTRIBUTE_<an-attribute>">
CMAKE_XCODE_ATTRIBUTE_<an-attribute>¶

New in version 3.1.

Set Xcode target attributes directly.

Tell the Xcode generator to set <an-attribute> to a given
value in the generated Xcode project.  Ignored on other generators.

This offers low-level control over the generated Xcode project file.
It is meant as a last resort for specifying settings that CMake does
not otherwise have a way to control.  Although this can override a
setting CMake normally produces on its own, doing so bypasses CMake's
model of the project and can break things.

See the XCODE_ATTRIBUTE_<an-attribute> target property
to set attributes on a specific target.

Contents of CMAKE_XCODE_ATTRIBUTE_<an-attribute> may use
"generator expressions" with the syntax $<...>.  See the
cmake-generator-expressions(7) manual for available
expressions.  See the cmake-buildsystem(7) manual
for more on defining buildsystem properties.

Previous topic

CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS

Next topic

EXECUTABLE_OUTPUT_PATH

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_XCODE_ATTRIBUTE_<an-attribute>

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_XCODE_BUILD_SYSTEM — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_XCODE_PLATFORM_TOOLSET" href="CMAKE_XCODE_PLATFORM_TOOLSET.html" />
    <link rel="prev" title="CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION_MAXIMUM" href="CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION_MAXIMUM.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_XCODE_BUILD_SYSTEM

CMAKE_XCODE_BUILD_SYSTEM¶

New in version 3.19.

Xcode build system selection.

The Xcode generator defines this variable to indicate which
variant of the Xcode build system will be used.  The value is the
version of Xcode in which the corresponding build system first became
mature enough for use by CMake.  The possible values are:

1

The original Xcode build system.
This is the default when using Xcode 11.x or below and supported
up to Xcode 13.x.

12

The Xcode "new build system" introduced by Xcode 10.
It became mature enough for use by CMake in Xcode 12.
This is the default when using Xcode 12.x or above.

The CMAKE_XCODE_BUILD_SYSTEM variable is informational and should not
be modified by project code.  See the Toolset and Build System Selection
documentation section to select the Xcode build system.

Previous topic

CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION_MAXIMUM

Next topic

CMAKE_XCODE_PLATFORM_TOOLSET

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_XCODE_BUILD_SYSTEM

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_XCODE_GENERATE_SCHEME — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_XCODE_GENERATE_TOP_LEVEL_PROJECT_ONLY" href="CMAKE_XCODE_GENERATE_TOP_LEVEL_PROJECT_ONLY.html" />
    <link rel="prev" title="CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION" href="CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_XCODE_GENERATE_SCHEME

CMAKE_XCODE_GENERATE_SCHEME¶

New in version 3.9.

If enabled, the Xcode generator will generate schema files.  These
are useful to invoke analyze, archive, build-for-testing and test
actions from the command line.

This variable initializes the
XCODE_GENERATE_SCHEME
target property on all targets.

Previous topic

CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION

Next topic

CMAKE_XCODE_GENERATE_TOP_LEVEL_PROJECT_ONLY

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_XCODE_GENERATE_SCHEME

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_XCODE_GENERATE_TOP_LEVEL_PROJECT_ONLY — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_XCODE_LINK_BUILD_PHASE_MODE" href="CMAKE_XCODE_LINK_BUILD_PHASE_MODE.html" />
    <link rel="prev" title="CMAKE_XCODE_GENERATE_SCHEME" href="CMAKE_XCODE_GENERATE_SCHEME.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_XCODE_GENERATE_TOP_LEVEL_PROJECT_ONLY

CMAKE_XCODE_GENERATE_TOP_LEVEL_PROJECT_ONLY¶

New in version 3.11.

If enabled, the Xcode generator will generate only a
single Xcode project file for the topmost project() command
instead of generating one for every project() command.

This could be useful to speed up the CMake generation step for
large projects and to work-around a bug in the ZERO_CHECK logic.

Previous topic

CMAKE_XCODE_GENERATE_SCHEME

Next topic

CMAKE_XCODE_LINK_BUILD_PHASE_MODE

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_XCODE_GENERATE_TOP_LEVEL_PROJECT_ONLY

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_XCODE_LINK_BUILD_PHASE_MODE — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_XCODE_SCHEME_ADDRESS_SANITIZER" href="CMAKE_XCODE_SCHEME_ADDRESS_SANITIZER.html" />
    <link rel="prev" title="CMAKE_XCODE_GENERATE_TOP_LEVEL_PROJECT_ONLY" href="CMAKE_XCODE_GENERATE_TOP_LEVEL_PROJECT_ONLY.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_XCODE_LINK_BUILD_PHASE_MODE

CMAKE_XCODE_LINK_BUILD_PHASE_MODE¶

New in version 3.19.

This variable is used to initialize the
XCODE_LINK_BUILD_PHASE_MODE property on targets.
It affects the methods that the Xcode generator uses to link
different kinds of libraries.  Its default value is NONE.

Previous topic

CMAKE_XCODE_GENERATE_TOP_LEVEL_PROJECT_ONLY

Next topic

CMAKE_XCODE_SCHEME_ADDRESS_SANITIZER

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_XCODE_LINK_BUILD_PHASE_MODE

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_XCODE_PLATFORM_TOOLSET — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="<PROJECT-NAME>_BINARY_DIR" href="PROJECT-NAME_BINARY_DIR.html" />
    <link rel="prev" title="CMAKE_XCODE_BUILD_SYSTEM" href="CMAKE_XCODE_BUILD_SYSTEM.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_XCODE_PLATFORM_TOOLSET

CMAKE_XCODE_PLATFORM_TOOLSET¶

Xcode compiler selection.

Xcode supports selection of a compiler from one of the installed
toolsets.  CMake provides the name of the chosen toolset in this
variable, if any is explicitly selected (e.g.  via the cmake -T
option).

Previous topic

CMAKE_XCODE_BUILD_SYSTEM

Next topic

<PROJECT-NAME>_BINARY_DIR

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_XCODE_PLATFORM_TOOLSET

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.


code:
<!DOCTYPE html>

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />

  <title>CMAKE_XCODE_SCHEME_ADDRESS_SANITIZER — CMake 3.29.0-rc3 Documentation</title>

    <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="../_static/cmake.css" />

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_XCODE_SCHEME_ADDRESS_SANITIZER_USE_AFTER_RETURN" href="CMAKE_XCODE_SCHEME_ADDRESS_SANITIZER_USE_AFTER_RETURN.html" />
    <link rel="prev" title="CMAKE_XCODE_LINK_BUILD_PHASE_MODE" href="CMAKE_XCODE_LINK_BUILD_PHASE_MODE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_XCODE_SCHEME_ADDRESS_SANITIZER

CMAKE_XCODE_SCHEME_ADDRESS_SANITIZER¶

New in version 3.13.

Whether to enable Address Sanitizer in the Diagnostics
section of the generated Xcode scheme.

This variable initializes the
XCODE_SCHEME_ADDRESS_SANITIZER
property on all targets.

Please refer to the XCODE_GENERATE_SCHEME target property
documentation to see all Xcode schema related properties.

Previous topic

CMAKE_XCODE_LINK_BUILD_PHASE_MODE

Next topic

CMAKE_XCODE_SCHEME_ADDRESS_SANITIZER_USE_AFTER_RETURN

This Page

Show Source

Quick search

    <form class="search" action="../search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_XCODE_SCHEME_ADDRESS_SANITIZER

        © Copyright 2000-2024 Kitware, Inc. and Contributors.
      Created using Sphinx 6.2.1.