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_SYSROOT — 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_SYSROOT_COMPILE" href="CMAKE_SYSROOT_COMPILE.html" />
    <link rel="prev" title="CMAKE_SUPPRESS_REGENERATION" href="CMAKE_SUPPRESS_REGENERATION.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SYSROOT

CMAKE_SYSROOT¶

Path to pass to the compiler in the --sysroot flag.

The CMAKE_SYSROOT content is passed to the compiler in the --sysroot
flag, if supported.  The path is also stripped from the RPATH/RUNPATH
if necessary on installation.  The CMAKE_SYSROOT is also used to prefix
paths searched by the find_* commands.

This variable may only be set in a toolchain file specified by
the CMAKE_TOOLCHAIN_FILE variable.

See also the CMAKE_SYSROOT_COMPILE and
CMAKE_SYSROOT_LINK variables.

Previous topic

CMAKE_SUPPRESS_REGENERATION

Next topic

CMAKE_SYSROOT_COMPILE

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_SYSROOT

        © 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_SYSROOT_COMPILE — 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_SYSROOT_LINK" href="CMAKE_SYSROOT_LINK.html" />
    <link rel="prev" title="CMAKE_SYSROOT" href="CMAKE_SYSROOT.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SYSROOT_COMPILE

CMAKE_SYSROOT_COMPILE¶

New in version 3.9.

Path to pass to the compiler in the --sysroot flag when compiling source
files.  This is the same as CMAKE_SYSROOT but is used only for
compiling sources and not linking.

This variable may only be set in a toolchain file specified by
the CMAKE_TOOLCHAIN_FILE variable.

Previous topic

CMAKE_SYSROOT

Next topic

CMAKE_SYSROOT_LINK

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_SYSROOT_COMPILE

        © 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_SYSROOT_LINK — 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_SYSTEM_APPBUNDLE_PATH" href="CMAKE_SYSTEM_APPBUNDLE_PATH.html" />
    <link rel="prev" title="CMAKE_SYSROOT_COMPILE" href="CMAKE_SYSROOT_COMPILE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SYSROOT_LINK

CMAKE_SYSROOT_LINK¶

New in version 3.9.

Path to pass to the compiler in the --sysroot flag when linking.  This is
the same as CMAKE_SYSROOT but is used only for linking and not
compiling sources.

This variable may only be set in a toolchain file specified by
the CMAKE_TOOLCHAIN_FILE variable.

Previous topic

CMAKE_SYSROOT_COMPILE

Next topic

CMAKE_SYSTEM_APPBUNDLE_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_SYSROOT_LINK

        © 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_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_SYSTEM_NAME" href="CMAKE_SYSTEM_NAME.html" />
    <link rel="prev" title="CMAKE_OBJECT_PATH_MAX" href="CMAKE_OBJECT_PATH_MAX.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SYSTEM

CMAKE_SYSTEM¶

Composite name of operating system CMake is compiling for.

This variable is the composite of CMAKE_SYSTEM_NAME and
CMAKE_SYSTEM_VERSION, e.g.
${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_VERSION}.  If
CMAKE_SYSTEM_VERSION is not set, then this variable is
the same as CMAKE_SYSTEM_NAME.

Previous topic

CMAKE_OBJECT_PATH_MAX

Next topic

CMAKE_SYSTEM_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_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_SYSTEM_APPBUNDLE_PATH — 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_SYSTEM_FRAMEWORK_PATH" href="CMAKE_SYSTEM_FRAMEWORK_PATH.html" />
    <link rel="prev" title="CMAKE_SYSROOT_LINK" href="CMAKE_SYSROOT_LINK.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SYSTEM_APPBUNDLE_PATH

CMAKE_SYSTEM_APPBUNDLE_PATH¶

New in version 3.4.

Search path for macOS application bundles used by the find_program(),
and find_package() commands.  By default it contains the standard
directories for the current system.  It is not intended to be modified by
the project, use CMAKE_APPBUNDLE_PATH for this.

Previous topic

CMAKE_SYSROOT_LINK

Next topic

CMAKE_SYSTEM_FRAMEWORK_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_SYSTEM_APPBUNDLE_PATH

        © 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_SYSTEM_FRAMEWORK_PATH — 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_SYSTEM_IGNORE_PATH" href="CMAKE_SYSTEM_IGNORE_PATH.html" />
    <link rel="prev" title="CMAKE_SYSTEM_APPBUNDLE_PATH" href="CMAKE_SYSTEM_APPBUNDLE_PATH.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SYSTEM_FRAMEWORK_PATH

CMAKE_SYSTEM_FRAMEWORK_PATH¶

New in version 3.4.

Search path for macOS frameworks used by the find_library(),
find_package(), find_path(), and find_file()
commands.  By default it contains the standard directories for the
current system.  It is not intended to be modified by the project,
use CMAKE_FRAMEWORK_PATH for this.

Previous topic

CMAKE_SYSTEM_APPBUNDLE_PATH

Next topic

CMAKE_SYSTEM_IGNORE_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_SYSTEM_FRAMEWORK_PATH

        © 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_SYSTEM_IGNORE_PATH — 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_SYSTEM_IGNORE_PREFIX_PATH" href="CMAKE_SYSTEM_IGNORE_PREFIX_PATH.html" />
    <link rel="prev" title="CMAKE_SYSTEM_FRAMEWORK_PATH" href="CMAKE_SYSTEM_FRAMEWORK_PATH.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SYSTEM_IGNORE_PATH

CMAKE_SYSTEM_IGNORE_PATH¶

Semicolon-separated list of directories
to be ignored by the various find...() commands.

For find_program(), find_library(), find_file(),
and find_path(), any file found in one of the listed directories
will be ignored. The listed directories do not apply recursively, so any
subdirectories to be ignored must also be explicitly listed.
CMAKE_SYSTEM_IGNORE_PATH does not affect the search prefixes used by these
four commands. To ignore individual paths under a search prefix
(e.g. bin, include, lib, etc.), each path must be listed in
CMAKE_SYSTEM_IGNORE_PATH as a full absolute path. CMAKE_SYSTEM_IGNORE_PREFIX_PATH
provides a more appropriate way to ignore a whole search prefix.

find_package() is also affected by CMAKE_SYSTEM_IGNORE_PATH, but only
for Config mode searches. Any <Name>Config.cmake or
<name>-config.cmake file found in one of the specified directories
will be ignored. In addition, any search prefix found in CMAKE_SYSTEM_IGNORE_PATH
will be skipped for backward compatibility reasons, but new code should
prefer to use CMAKE_SYSTEM_IGNORE_PREFIX_PATH to ignore prefixes instead.

Ignoring search locations can be useful in cross-compiling environments where
some system directories contain incompatible but possibly linkable libraries.
For example, on cross-compiled cluster environments, this allows a user to
ignore directories containing libraries meant for the front-end machine.

CMAKE_SYSTEM_IGNORE_PATH is populated by CMake as part of its platform
and toolchain setup. Its purpose is to ignore locations containing
incompatible binaries meant for the host rather than the target platform.
The project or end user should not modify this variable, they should use
CMAKE_IGNORE_PATH instead.

See also the following variables:

CMAKE_SYSTEM_IGNORE_PREFIX_PATH

CMAKE_SYSTEM_PREFIX_PATH

CMAKE_SYSTEM_LIBRARY_PATH

CMAKE_SYSTEM_INCLUDE_PATH

CMAKE_SYSTEM_PROGRAM_PATH

Previous topic

CMAKE_SYSTEM_FRAMEWORK_PATH

Next topic

CMAKE_SYSTEM_IGNORE_PREFIX_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_SYSTEM_IGNORE_PATH

        © 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_SYSTEM_IGNORE_PREFIX_PATH — 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_SYSTEM_INCLUDE_PATH" href="CMAKE_SYSTEM_INCLUDE_PATH.html" />
    <link rel="prev" title="CMAKE_SYSTEM_IGNORE_PATH" href="CMAKE_SYSTEM_IGNORE_PATH.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SYSTEM_IGNORE_PREFIX_PATH

CMAKE_SYSTEM_IGNORE_PREFIX_PATH¶

New in version 3.23.

Semicolon-separated list of search prefixes
to be ignored by the find_program(), find_library(),
find_file(), and find_path() commands.
The prefixes are also ignored by the Config mode of the
find_package() command (Module mode is unaffected).
To ignore specific directories instead, see CMAKE_SYSTEM_IGNORE_PATH.

Ignoring search locations can be useful in cross-compiling environments where
some system directories contain incompatible but possibly linkable libraries.
For example, on cross-compiled cluster environments, this allows a user to
ignore directories containing libraries meant for the front-end machine.

CMAKE_SYSTEM_IGNORE_PREFIX_PATH is populated by CMake as part of its platform
and toolchain setup. Its purpose is to ignore locations containing
incompatible binaries meant for the host rather than the target platform.
The project or end user should not modify this variable, they should use
CMAKE_IGNORE_PREFIX_PATH instead.

See also the following variables:

CMAKE_SYSTEM_IGNORE_PATH

CMAKE_SYSTEM_PREFIX_PATH

CMAKE_SYSTEM_LIBRARY_PATH

CMAKE_SYSTEM_INCLUDE_PATH

CMAKE_SYSTEM_PROGRAM_PATH

Previous topic

CMAKE_SYSTEM_IGNORE_PATH

Next topic

CMAKE_SYSTEM_INCLUDE_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_SYSTEM_IGNORE_PREFIX_PATH

        © 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_SYSTEM_INCLUDE_PATH — 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_SYSTEM_LIBRARY_PATH" href="CMAKE_SYSTEM_LIBRARY_PATH.html" />
    <link rel="prev" title="CMAKE_SYSTEM_IGNORE_PREFIX_PATH" href="CMAKE_SYSTEM_IGNORE_PREFIX_PATH.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SYSTEM_INCLUDE_PATH

CMAKE_SYSTEM_INCLUDE_PATH¶

Semicolon-separated list of directories specifying a search path
for the find_file() and find_path() commands.  By default
this contains the standard directories for the current system.  It is not
intended to be modified by the project; use CMAKE_INCLUDE_PATH for
this.  See also CMAKE_SYSTEM_PREFIX_PATH.

Previous topic

CMAKE_SYSTEM_IGNORE_PREFIX_PATH

Next topic

CMAKE_SYSTEM_LIBRARY_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_SYSTEM_INCLUDE_PATH

        © 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_SYSTEM_LIBRARY_PATH — 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_SYSTEM_PREFIX_PATH" href="CMAKE_SYSTEM_PREFIX_PATH.html" />
    <link rel="prev" title="CMAKE_SYSTEM_INCLUDE_PATH" href="CMAKE_SYSTEM_INCLUDE_PATH.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SYSTEM_LIBRARY_PATH

CMAKE_SYSTEM_LIBRARY_PATH¶

Semicolon-separated list of directories specifying a search path
for the find_library() command.  By default this contains the
standard directories for the current system.  It is not intended to be
modified by the project; use CMAKE_LIBRARY_PATH for this.
See also CMAKE_SYSTEM_PREFIX_PATH.

Previous topic

CMAKE_SYSTEM_INCLUDE_PATH

Next topic

CMAKE_SYSTEM_PREFIX_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_SYSTEM_LIBRARY_PATH

        © 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_SYSTEM_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_SYSTEM_PROCESSOR" href="CMAKE_SYSTEM_PROCESSOR.html" />
    <link rel="prev" title="CMAKE_SYSTEM" href="CMAKE_SYSTEM.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SYSTEM_NAME

CMAKE_SYSTEM_NAME¶

The name of the operating system for which CMake is to build.
See the CMAKE_SYSTEM_VERSION variable for the OS version.

Note that CMAKE_SYSTEM_NAME is not set to anything by default when running
in script mode, since it's not building anything.

System Name for Host Builds¶

CMAKE_SYSTEM_NAME is by default set to the same value as the
CMAKE_HOST_SYSTEM_NAME variable so that the build
targets the host system.

System Name for Cross Compiling¶

CMAKE_SYSTEM_NAME may be set explicitly when first configuring a new build
tree in order to enable cross compiling.
In this case the CMAKE_SYSTEM_VERSION variable must also be
set explicitly.

System Names Known to CMake¶

The following is a list of possible values, each associated with corresponding
operating systems or environments.

Value

Name

ADSP

Analog Devices Audio Digital Signal Processing

AIX

IBM Unix operating system

Android

Android operating system

ARTOS

Operating system for microcontrollers

BeOS

Operating system for personal computers (discontinued)

BlueGeneL

Blue Gene/L static environment

BlueGeneP-dynamic

Blue Gene/P dynamic environment

BlueGeneP-static

Blue Gene/P static environment

BlueGeneQ-dynamic

Blue Gene/Q dynamic environment

BlueGeneQ-static

Blue Gene/Q static environment

BSDOS

BSD operating system (discontinued)

Catamount

Operating system for Cray XT series

CrayLinuxEnvironment

Cray Linux Environment

CYGWIN

Cygwin environment for Windows

Darwin

Apple stationary operating systems (macOS, OS X, etc.)

DOS

MS-DOS or compatible

DragonFly

BSD-derived operating system

eCos

Real-time embedded operating system

Emscripten

Compiler toolchain to WebAssembly

Euros

Real-time operating system for embedded devices

FreeBSD

FreeBSD operating system

Fuchsia

Operating system by Google based on the Zircon kernel

Generic-ADSP

Generic ADSP (Audio DSP) environment

Generic-ELF

Generic ELF (Executable and Linkable Format) environment

Generic

Some platforms, e.g. bare metal embedded devices

GHS-MULTI

Green Hills Software MULTI environment

GNU

GNU/Hurd-based operating system

Haiku

Unix operating system inspired by BeOS

HP-UX

Hewlett Packard Unix

iOS

Apple mobile phone operating system

kFreeBSD

FreeBSD kernel with a GNU userland

Linux

All Linux-based distributions

Midipix

POSIX-compatible layer for Windows

MirBSD

MirOS BSD operating system

MP-RAS

MP-RAS UNIX operating system

MSYS

MSYS environment (MSYSTEM=MSYS)

NetBSD

NetBSD operating systems

OpenBSD

OpenBSD operating systems

OpenVMS

OpenVMS operating system by HP

OS2

OS/2 operating system

OSF1

Compaq Tru64 UNIX (formerly DEC OSF/1, Digital Unix) (discontinued)

QNX

Unix-like operating system by BlackBerry

RISCos

RISC OS operating system

SCO_SV

SCO OpenServer 5

SerenityOS

Unix-like operating system

SINIX

SINIX operating system

SunOS

Oracle Solaris and all illumos operating systems

syllable

Syllable operating system

Tru64

Compaq Tru64 UNIX (formerly DEC OSF/1) operating system

tvOS

Apple TV operating system

ULTRIX

Unix operating system (discontinued)

UNIX_SV

SCO UnixWare (pre release 7)

UnixWare

SCO UnixWare 7

visionOS

Apple mixed reality operating system

watchOS

Apple watch operating system

Windows

Windows stationary operating systems

WindowsCE

Windows Embedded Compact

WindowsPhone

Windows mobile phone operating system

WindowsStore

Universal Windows Platform applications

Xenix

SCO Xenix Unix operating system (discontinued)

Platform-specific notes:

MSYS2's msys/cmake package (/usr/bin/cmake) works only under
MSYSTEM=MSYS environments, with system name MSYS.  Under other
environments like MSYSTEM=MINGW64, use another package such
as mingw64/mingw-w64-x86_64-cmake (/mingw64/bin/cmake),
which targets MSYSTEM=MINGW64 with system name Windows.

Cygwin's cmake package (/usr/bin/cmake) uses system name CYGWIN.
A non-cygwin CMake on Windows (e.g. $PROGRAMFILES/CMake/bin/cmake)
uses system name Windows even when it runs under a Cygwin environment.

Table of Contents

CMAKE_SYSTEM_NAME

System Name for Host Builds

System Name for Cross Compiling

System Names Known to CMake

Previous topic

CMAKE_SYSTEM

Next topic

CMAKE_SYSTEM_PROCESSOR

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_SYSTEM_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_SYSTEM_PREFIX_PATH — 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_SYSTEM_PROGRAM_PATH" href="CMAKE_SYSTEM_PROGRAM_PATH.html" />
    <link rel="prev" title="CMAKE_SYSTEM_LIBRARY_PATH" href="CMAKE_SYSTEM_LIBRARY_PATH.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SYSTEM_PREFIX_PATH

CMAKE_SYSTEM_PREFIX_PATH¶

Semicolon-separated list of directories specifying installation
prefixes to be searched by the find_package(),
find_program(), find_library(), find_file(), and
find_path() commands.  Each command will add appropriate
subdirectories (like bin, lib, or include) as specified in its own
documentation.

By default this contains the system directories for the current system, the
CMAKE_INSTALL_PREFIX, and the CMAKE_STAGING_PREFIX.
The installation and staging prefixes may be excluded by setting
the CMAKE_FIND_NO_INSTALL_PREFIX variable before the
first project() invocation.

The system directories that are contained in CMAKE_SYSTEM_PREFIX_PATH are
locations that typically include installed software. An example being
/usr/local for UNIX based platforms. In addition to standard platform
locations, CMake will also add values to CMAKE_SYSTEM_PREFIX_PATH based on
environment variables. The environment variables and search locations that
CMake uses may evolve over time, as platforms and their conventions also
evolve. The following provides an indicative list of environment variables
and locations that CMake searches, but they are subject to change:

CrayLinuxEnvironment:

ENV{SYSROOT_DIR}/

ENV{SYSROOT_DIR}/usr

ENV{SYSROOT_DIR}/usr/local

Darwin:

ENV{SDKROOT}/usr When CMAKE_OSX_SYSROOT is not explicitly specified.

OpenBSD:

ENV{LOCALBASE}

Unix:

ENV{CONDA_PREFIX} when using a conda compiler

MSYSTEM environment with MinGW toolchain:

New in version 3.28.

ENV{MSYSTEM_PREFIX}/local

ENV{MSYSTEM_PREFIX}

Windows:

ENV{ProgramW6432}

ENV{ProgramFiles}

ENV{ProgramFiles(x86)}

ENV{SystemDrive}/Program Files

ENV{SystemDrive}/Program Files (x86)

CMAKE_SYSTEM_PREFIX_PATH is not intended to be modified by the project;
use CMAKE_PREFIX_PATH for this.

See also CMAKE_SYSTEM_INCLUDE_PATH,
CMAKE_SYSTEM_LIBRARY_PATH, CMAKE_SYSTEM_PROGRAM_PATH,
and CMAKE_SYSTEM_IGNORE_PATH.

Previous topic

CMAKE_SYSTEM_LIBRARY_PATH

Next topic

CMAKE_SYSTEM_PROGRAM_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_SYSTEM_PREFIX_PATH

        © 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_SYSTEM_PROCESSOR — 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_SYSTEM_VERSION" href="CMAKE_SYSTEM_VERSION.html" />
    <link rel="prev" title="CMAKE_SYSTEM_NAME" href="CMAKE_SYSTEM_NAME.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SYSTEM_PROCESSOR

CMAKE_SYSTEM_PROCESSOR¶

When not cross-compiling, this variable has the same value as the
CMAKE_HOST_SYSTEM_PROCESSOR variable.  In many cases,
this will correspond to the target architecture for the build, but
this is not guaranteed.  (E.g. on Windows, the host may be AMD64
even when using a MSVC cl compiler with a 32-bit target.)

When cross-compiling, a CMAKE_TOOLCHAIN_FILE should set
the CMAKE_SYSTEM_PROCESSOR variable to match target architecture
that it specifies (via CMAKE_<LANG>_COMPILER and perhaps
CMAKE_<LANG>_COMPILER_TARGET).

Previous topic

CMAKE_SYSTEM_NAME

Next topic

CMAKE_SYSTEM_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_SYSTEM_PROCESSOR

        © 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_SYSTEM_PROGRAM_PATH — 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_TLS_CAINFO" href="CMAKE_TLS_CAINFO.html" />
    <link rel="prev" title="CMAKE_SYSTEM_PREFIX_PATH" href="CMAKE_SYSTEM_PREFIX_PATH.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SYSTEM_PROGRAM_PATH

CMAKE_SYSTEM_PROGRAM_PATH¶

Semicolon-separated list of directories specifying a search path
for the find_program() command.  By default this contains the
standard directories for the current system.  It is not intended to be
modified by the project; use CMAKE_PROGRAM_PATH for this.
See also CMAKE_SYSTEM_PREFIX_PATH.

Previous topic

CMAKE_SYSTEM_PREFIX_PATH

Next topic

CMAKE_TLS_CAINFO

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_SYSTEM_PROGRAM_PATH

        © 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_SYSTEM_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="CYGWIN" href="CYGWIN.html" />
    <link rel="prev" title="CMAKE_SYSTEM_PROCESSOR" href="CMAKE_SYSTEM_PROCESSOR.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SYSTEM_VERSION

CMAKE_SYSTEM_VERSION¶

The version of the operating system for which CMake is to build.
See the CMAKE_SYSTEM_NAME variable for the OS name.

System Version for Host Builds¶

When the CMAKE_SYSTEM_NAME variable takes its default value
then CMAKE_SYSTEM_VERSION is by default set to the same value as the
CMAKE_HOST_SYSTEM_VERSION variable so that the build targets
the host system version.

In the case of a host build then CMAKE_SYSTEM_VERSION may be set
explicitly when first configuring a new build tree in order to enable
targeting the build for a different version of the host operating system
than is actually running on the host.  This is allowed and not considered
cross compiling so long as the binaries built for the specified OS version
can still run on the host.

System Version for Cross Compiling¶

When the CMAKE_SYSTEM_NAME variable is set explicitly to
enable cross compiling then the
value of CMAKE_SYSTEM_VERSION must also be set explicitly to specify
the target system version.

Table of Contents

CMAKE_SYSTEM_VERSION

System Version for Host Builds

System Version for Cross Compiling

Previous topic

CMAKE_SYSTEM_PROCESSOR

Next topic

CYGWIN

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_SYSTEM_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_Swift_COMPILATION_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_Swift_MODULE_DIRECTORY" href="CMAKE_Swift_MODULE_DIRECTORY.html" />
    <link rel="prev" title="CMAKE_STATIC_LIBRARY_SUFFIX" href="CMAKE_STATIC_LIBRARY_SUFFIX.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_Swift_COMPILATION_MODE

CMAKE_Swift_COMPILATION_MODE¶

New in version 3.29.

Specify how Swift compiles a target. This variable is used to initialize the
Swift_COMPILATION_MODE property on targets as they are created.

The allowed values are:

incremental

Compiles each Swift source in the module separately, resulting in better
parallelism in the build. The compiler emits additional information into
the build directory improving rebuild performance when small changes are made
to the source between rebuilds. This is the best option to use while
iterating on changes in a project.

wholemodule

Whole-module optimizations are slowest to compile, but results in the most
optimized library. The entire context is loaded into once instance of the
compiler, so there is no parallelism across source files in the module.

singlefile

Compiles each source in a Swift modules separately, resulting in better
parallelism. Unlike the incremental build mode, no additional information
is emitted by the compiler during the build, so rebuilding after making small
changes to the source file will not run faster. This option should be used
sparingly, preferring incremental builds, unless working around a compiler
bug.

Use generator expressions to support
per-configuration specification. For example, the code:

set(CMAKE_Swift_COMPILATION_MODE
  "$<IF:$<CONFIG:Release>,wholemodule,incremental>")

sets the default Swift compilation mode to wholemodule mode when building a
release configuration and to incremental mode in other configurations.

If this variable is not set then the Swift_COMPILATION_MODE target
property will not be set automatically. If that property is unset then CMake
uses the default value incremental to build the Swift source files.

Note

This property only has effect when policy CMP0157 is set to NEW
prior to the first project() or enable_language() command
that enables the Swift language.

Previous topic

CMAKE_STATIC_LIBRARY_SUFFIX

Next topic

CMAKE_Swift_MODULE_DIRECTORY

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_Swift_COMPILATION_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_Swift_LANGUAGE_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_USER_MAKE_RULES_OVERRIDE_<LANG>" href="CMAKE_USER_MAKE_RULES_OVERRIDE_LANG.html" />
    <link rel="prev" title="CMAKE_OBJCXX_STANDARD_REQUIRED" href="CMAKE_OBJCXX_STANDARD_REQUIRED.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_Swift_LANGUAGE_VERSION

CMAKE_Swift_LANGUAGE_VERSION¶

New in version 3.7.

Set to the Swift language version number.  If not set, the oldest legacy
version known to be available in the host Xcode version is assumed:

Swift 4.0 for Xcode 10.2 and above.

Swift 3.0 for Xcode 8.3 and above.

Swift 2.3 for Xcode 8.2 and below.

Previous topic

CMAKE_OBJCXX_STANDARD_REQUIRED

Next topic

CMAKE_USER_MAKE_RULES_OVERRIDE_<LANG>

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_Swift_LANGUAGE_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_Swift_MODULE_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_Swift_NUM_THREADS" href="CMAKE_Swift_NUM_THREADS.html" />
    <link rel="prev" title="CMAKE_Swift_COMPILATION_MODE" href="CMAKE_Swift_COMPILATION_MODE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_Swift_MODULE_DIRECTORY

CMAKE_Swift_MODULE_DIRECTORY¶

New in version 3.15.

Swift module output directory.

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

Previous topic

CMAKE_Swift_COMPILATION_MODE

Next topic

CMAKE_Swift_NUM_THREADS

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_Swift_MODULE_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_Swift_NUM_THREADS — 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_TEST_LAUNCHER" href="CMAKE_TEST_LAUNCHER.html" />
    <link rel="prev" title="CMAKE_Swift_MODULE_DIRECTORY" href="CMAKE_Swift_MODULE_DIRECTORY.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_Swift_NUM_THREADS

CMAKE_Swift_NUM_THREADS¶

New in version 3.15.1.

Number of threads for parallel compilation for Swift targets.

This variable controls the number of parallel jobs that the swift driver creates
for building targets.  If not specified, it will default to the number of
logical CPUs on the host.

Previous topic

CMAKE_Swift_MODULE_DIRECTORY

Next topic

CMAKE_TEST_LAUNCHER

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_Swift_NUM_THREADS

        © 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_TASKING_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_TRY_COMPILE_CONFIGURATION" href="CMAKE_TRY_COMPILE_CONFIGURATION.html" />
    <link rel="prev" title="CMAKE_STATIC_LINKER_FLAGS_INIT" href="CMAKE_STATIC_LINKER_FLAGS_INIT.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_TASKING_TOOLSET

CMAKE_TASKING_TOOLSET¶

New in version 3.25.

Select the Tasking toolset which provides the compiler

Architecture compilers are provided by different toolchains with
incompatible versioning schemes.  Set this variable in a
toolchain file so CMake can detect
the compiler features correctly. If no toolset is specified,
Standalone is assumed.

Due to the different versioning schemes, the compiler version
(CMAKE_<LANG>_COMPILER_VERSION) depends on the toolset and
architecture in use. If projects can be built with multiple toolsets or
architectures, the specified CMAKE_TASKING_TOOLSET and the
automatically determined CMAKE_<LANG>_COMPILER_ARCHITECTURE_ID
must be taken into account when comparing against the
CMAKE_<LANG>_COMPILER_VERSION.

TriCore

Compilers are provided by the TriCore toolset.

SmartCode

Compilers are provided by the SmartCode toolset.

Standalone

Compilers are provided by the standalone toolsets.

Note

For the TriCore architecture, the compiler from the TriCore toolset is
selected as standalone compiler.

Previous topic

CMAKE_STATIC_LINKER_FLAGS_INIT

Next topic

CMAKE_TRY_COMPILE_CONFIGURATION

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_TASKING_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_TEST_LAUNCHER — 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_TOOLCHAIN_FILE" href="CMAKE_TOOLCHAIN_FILE.html" />
    <link rel="prev" title="CMAKE_Swift_NUM_THREADS" href="CMAKE_Swift_NUM_THREADS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_TEST_LAUNCHER

CMAKE_TEST_LAUNCHER¶

New in version 3.29.

This variable is used to initialize the TEST_LAUNCHER target
property of executable targets as they are created.  It is used to specify
a launcher for running tests, added by the add_test() command,
that run an executable target.

If this variable contains a semicolon-separated list, then the first value is the command and remaining values are its
arguments.

This variable can be initialized via an
CMAKE_TEST_LAUNCHER environment variable.

Previous topic

CMAKE_Swift_NUM_THREADS

Next topic

CMAKE_TOOLCHAIN_FILE

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_TEST_LAUNCHER

        © 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_TLS_CAINFO — 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_TLS_VERIFY" href="CMAKE_TLS_VERIFY.html" />
    <link rel="prev" title="CMAKE_SYSTEM_PROGRAM_PATH" href="CMAKE_SYSTEM_PROGRAM_PATH.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_TLS_CAINFO

CMAKE_TLS_CAINFO¶

Specify the default value for the file(DOWNLOAD) and
file(UPLOAD) commands' TLS_CAINFO options.
It is unset by default.

This variable is also used by the ExternalProject and
FetchContent modules for internal calls to file(DOWNLOAD).

Previous topic

CMAKE_SYSTEM_PROGRAM_PATH

Next topic

CMAKE_TLS_VERIFY

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_TLS_CAINFO

        © 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_TLS_VERIFY — 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_USER_MAKE_RULES_OVERRIDE" href="CMAKE_USER_MAKE_RULES_OVERRIDE.html" />
    <link rel="prev" title="CMAKE_TLS_CAINFO" href="CMAKE_TLS_CAINFO.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_TLS_VERIFY

CMAKE_TLS_VERIFY¶

Specify the default value for the file(DOWNLOAD) and
file(UPLOAD) commands' TLS_VERIFY options.
If not set, the default is off.

This variable is also used by the ExternalProject and
FetchContent modules for internal calls to file(DOWNLOAD).

TLS verification can help provide confidence that one is connecting
to the desired server.  When downloading known content, one should
also use file hashes to verify it.

set(CMAKE_TLS_VERIFY TRUE)

Previous topic

CMAKE_TLS_CAINFO

Next topic

CMAKE_USER_MAKE_RULES_OVERRIDE

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_TLS_VERIFY

        © 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_TOOLCHAIN_FILE — 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_TWEAK_VERSION" href="CMAKE_TWEAK_VERSION.html" />
    <link rel="prev" title="CMAKE_TEST_LAUNCHER" href="CMAKE_TEST_LAUNCHER.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_TOOLCHAIN_FILE

CMAKE_TOOLCHAIN_FILE¶

Path to toolchain file supplied to cmake(1).

This variable is specified on the command line when cross-compiling with CMake.
It is the path to a file which is read early in the CMake run and which
specifies locations for compilers and toolchain utilities, and other target
platform and compiler related information.

Relative paths are allowed and are interpreted first as relative to the
build directory, and if not found, relative to the source directory.

This is initialized by the CMAKE_TOOLCHAIN_FILE environment
variable if it is set when a new build tree is first created.

See the CMAKE_PROJECT_TOP_LEVEL_INCLUDES variable for setting
other things not directly related to the toolchain.

Previous topic

CMAKE_TEST_LAUNCHER

Next topic

CMAKE_TWEAK_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_TOOLCHAIN_FILE

        © 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_TRY_COMPILE_CONFIGURATION — 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_TRY_COMPILE_NO_PLATFORM_VARIABLES" href="CMAKE_TRY_COMPILE_NO_PLATFORM_VARIABLES.html" />
    <link rel="prev" title="CMAKE_TASKING_TOOLSET" href="CMAKE_TASKING_TOOLSET.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_TRY_COMPILE_CONFIGURATION

CMAKE_TRY_COMPILE_CONFIGURATION¶

Build configuration used for try_compile() and try_run()
projects.

Projects built by try_compile() and try_run() are built
synchronously during the CMake configuration step.  Therefore a specific build
configuration must be chosen even if the generated build system
supports multiple configurations.

Previous topic

CMAKE_TASKING_TOOLSET

Next topic

CMAKE_TRY_COMPILE_NO_PLATFORM_VARIABLES

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_TRY_COMPILE_CONFIGURATION

        © 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_TRY_COMPILE_NO_PLATFORM_VARIABLES — 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_TRY_COMPILE_PLATFORM_VARIABLES" href="CMAKE_TRY_COMPILE_PLATFORM_VARIABLES.html" />
    <link rel="prev" title="CMAKE_TRY_COMPILE_CONFIGURATION" href="CMAKE_TRY_COMPILE_CONFIGURATION.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_TRY_COMPILE_NO_PLATFORM_VARIABLES

CMAKE_TRY_COMPILE_NO_PLATFORM_VARIABLES¶

New in version 3.24.

Set to a true value to tell the try_compile() command not
to propagate any platform variables into the test project.

The try_compile() command normally passes some CMake variables
that configure the platform and toolchain behavior into test projects.
See policy CMP0137.  This variable may be set to disable
that behavior.

Previous topic

CMAKE_TRY_COMPILE_CONFIGURATION

Next topic

CMAKE_TRY_COMPILE_PLATFORM_VARIABLES

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_TRY_COMPILE_NO_PLATFORM_VARIABLES

        © 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_TRY_COMPILE_PLATFORM_VARIABLES — 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_TRY_COMPILE_TARGET_TYPE" href="CMAKE_TRY_COMPILE_TARGET_TYPE.html" />
    <link rel="prev" title="CMAKE_TRY_COMPILE_NO_PLATFORM_VARIABLES" href="CMAKE_TRY_COMPILE_NO_PLATFORM_VARIABLES.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_TRY_COMPILE_PLATFORM_VARIABLES

CMAKE_TRY_COMPILE_PLATFORM_VARIABLES¶

New in version 3.6.

List of variables that the try_compile() command source file signature
must propagate into the test project in order to target the same platform as
the host project.

This variable should not be set by project code.  It is meant to be set by
CMake's platform information modules for the current toolchain, or by a
toolchain file when used with CMAKE_TOOLCHAIN_FILE.

Variables meaningful to CMake, such as CMAKE_<LANG>_FLAGS, are
propagated automatically.  The CMAKE_TRY_COMPILE_PLATFORM_VARIABLES
variable may be set to pass custom variables meaningful to a toolchain file.
For example, a toolchain file may contain:

set(CMAKE_SYSTEM_NAME ...)
set(CMAKE_TRY_COMPILE_PLATFORM_VARIABLES MY_CUSTOM_VARIABLE)
# ... use MY_CUSTOM_VARIABLE ...

If a user passes -DMY_CUSTOM_VARIABLE=SomeValue to CMake then this
setting will be made visible to the toolchain file both for the main
project and for test projects generated by the try_compile()
command source file signature.

Changed in version 3.24: Listed variables are propagated to the try_compile()
whole-project signature too.
See CMP0137.

New in version 3.24: The CMAKE_TRY_COMPILE_NO_PLATFORM_VARIABLES variable may be
set to disable passing platform variables into the test project.

Previous topic

CMAKE_TRY_COMPILE_NO_PLATFORM_VARIABLES

Next topic

CMAKE_TRY_COMPILE_TARGET_TYPE

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_TRY_COMPILE_PLATFORM_VARIABLES

        © 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_TRY_COMPILE_TARGET_TYPE — 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_UNITY_BUILD" href="CMAKE_UNITY_BUILD.html" />
    <link rel="prev" title="CMAKE_TRY_COMPILE_PLATFORM_VARIABLES" href="CMAKE_TRY_COMPILE_PLATFORM_VARIABLES.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_TRY_COMPILE_TARGET_TYPE

CMAKE_TRY_COMPILE_TARGET_TYPE¶

New in version 3.6.

Type of target generated for try_compile() calls using the
source file signature.  Valid values are:

EXECUTABLE

Use add_executable() to name the source file in the
generated project.  This is the default if no value is given.

STATIC_LIBRARY

Use add_library() with the STATIC option to name the
source file in the generated project.  This avoids running the
linker and is intended for use with cross-compiling toolchains
that cannot link without custom flags or linker scripts.

Previous topic

CMAKE_TRY_COMPILE_PLATFORM_VARIABLES

Next topic

CMAKE_UNITY_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_TRY_COMPILE_TARGET_TYPE

        © 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_TWEAK_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_VERBOSE_MAKEFILE" href="CMAKE_VERBOSE_MAKEFILE.html" />
    <link rel="prev" title="CMAKE_TOOLCHAIN_FILE" href="CMAKE_TOOLCHAIN_FILE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_TWEAK_VERSION

CMAKE_TWEAK_VERSION¶

Defined to 0 for compatibility with code written for older
CMake versions that may have defined higher values.

Note

In CMake versions 2.8.2 through 2.8.12, this variable holds
the fourth version number component of the
CMAKE_VERSION variable.

Previous topic

CMAKE_TOOLCHAIN_FILE

Next topic

CMAKE_VERBOSE_MAKEFILE

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_TWEAK_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_UNITY_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_UNITY_BUILD_BATCH_SIZE" href="CMAKE_UNITY_BUILD_BATCH_SIZE.html" />
    <link rel="prev" title="CMAKE_TRY_COMPILE_TARGET_TYPE" href="CMAKE_TRY_COMPILE_TARGET_TYPE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_UNITY_BUILD

CMAKE_UNITY_BUILD¶

New in version 3.16.

This variable is used to initialize the UNITY_BUILD
property of targets when they are created.  Setting it to true
enables batch compilation of multiple sources within each target.
This feature is known as a Unity or Jumbo build.

Projects should not set this variable, it is intended as a developer
control to be set on the cmake(1) command line or other
equivalent methods.  The developer must have the ability to enable or
disable unity builds according to the capabilities of their own machine
and compiler.

By default, this variable is not set, which will result in unity builds
being disabled.

Note

This option currently does not work well in combination with
the CMAKE_EXPORT_COMPILE_COMMANDS variable.

Previous topic

CMAKE_TRY_COMPILE_TARGET_TYPE

Next topic

CMAKE_UNITY_BUILD_BATCH_SIZE

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_UNITY_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_UNITY_BUILD_BATCH_SIZE — 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_UNITY_BUILD_UNIQUE_ID" href="CMAKE_UNITY_BUILD_UNIQUE_ID.html" />
    <link rel="prev" title="CMAKE_UNITY_BUILD" href="CMAKE_UNITY_BUILD.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_UNITY_BUILD_BATCH_SIZE

CMAKE_UNITY_BUILD_BATCH_SIZE¶

New in version 3.16.

This variable is used to initialize the UNITY_BUILD_BATCH_SIZE
property of targets when they are created.  It specifies the default upper
limit on the number of source files that may be combined in any one unity
source file when unity builds are enabled for a target.

Previous topic

CMAKE_UNITY_BUILD

Next topic

CMAKE_UNITY_BUILD_UNIQUE_ID

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_UNITY_BUILD_BATCH_SIZE

        © 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_UNITY_BUILD_UNIQUE_ID — 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_VERIFY_INTERFACE_HEADER_SETS" href="CMAKE_VERIFY_INTERFACE_HEADER_SETS.html" />
    <link rel="prev" title="CMAKE_UNITY_BUILD_BATCH_SIZE" href="CMAKE_UNITY_BUILD_BATCH_SIZE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_UNITY_BUILD_UNIQUE_ID

CMAKE_UNITY_BUILD_UNIQUE_ID¶

New in version 3.20.

This variable is used to initialize the UNITY_BUILD_UNIQUE_ID
property of targets when they are created.  It specifies the name of the
unique identifier generated per file in a unity build.

Previous topic

CMAKE_UNITY_BUILD_BATCH_SIZE

Next topic

CMAKE_VERIFY_INTERFACE_HEADER_SETS

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_UNITY_BUILD_UNIQUE_ID

        © 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_USER_MAKE_RULES_OVERRIDE — 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_DEPRECATED" href="CMAKE_WARN_DEPRECATED.html" />
    <link rel="prev" title="CMAKE_TLS_VERIFY" href="CMAKE_TLS_VERIFY.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_USER_MAKE_RULES_OVERRIDE

CMAKE_USER_MAKE_RULES_OVERRIDE¶

Specify a CMake file that overrides platform information.

CMake loads the specified file while enabling support for each
language from either the project() or enable_language()
commands.  It is loaded after CMake's builtin compiler and platform information
modules have been loaded but before the information is used.  The file
may set platform information variables to override CMake's defaults.
See CMAKE_USER_MAKE_RULES_OVERRIDE_<LANG> for the language-specific
version of this variable.

This feature is intended for use only in overriding information
variables that must be set before CMake builds its first test project
to check that the compiler for a language works.  It should not be
used to load a file in cases that a normal include() will work.  Use
it only as a last resort for behavior that cannot be achieved any
other way.  For example, one may set the
CMAKE_C_FLAGS_INIT variable
to change the default value used to initialize the
CMAKE_C_FLAGS variable
before it is cached.  The override file should NOT be used to set anything
that could be set after languages are enabled, such as variables like
CMAKE_RUNTIME_OUTPUT_DIRECTORY that affect the placement of
binaries.  Information set in the file will be used for try_compile()
and try_run() builds too.

Previous topic

CMAKE_TLS_VERIFY

Next topic

CMAKE_WARN_DEPRECATED

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_USER_MAKE_RULES_OVERRIDE

        © 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_USER_MAKE_RULES_OVERRIDE_<LANG> — 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="CTEST_BINARY_DIRECTORY" href="CTEST_BINARY_DIRECTORY.html" />
    <link rel="prev" title="CMAKE_Swift_LANGUAGE_VERSION" href="CMAKE_Swift_LANGUAGE_VERSION.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_USER_MAKE_RULES_OVERRIDE_<LANG>

<span id="variable:CMAKE_USER_MAKE_RULES_OVERRIDE_<LANG>">
CMAKE_USER_MAKE_RULES_OVERRIDE_<LANG>¶

Specify a CMake file that overrides platform information for <LANG>.

This is a language-specific version of
CMAKE_USER_MAKE_RULES_OVERRIDE loaded only when enabling language
<LANG>.

Previous topic

CMAKE_Swift_LANGUAGE_VERSION

Next topic

CTEST_BINARY_DIRECTORY

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_USER_MAKE_RULES_OVERRIDE_<LANG>

        © 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_USE_RELATIVE_PATHS — 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_COMPILER_IS_GNUCC" href="CMAKE_COMPILER_IS_GNUCC.html" />
    <link rel="prev" title="CMAKE_IOS_INSTALL_COMBINED" href="CMAKE_IOS_INSTALL_COMBINED.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_USE_RELATIVE_PATHS

CMAKE_USE_RELATIVE_PATHS¶

This variable has no effect.  The partially implemented effect it
had in previous releases was removed in CMake 3.4.

Previous topic

CMAKE_IOS_INSTALL_COMBINED

Next topic

CMAKE_COMPILER_IS_GNUCC

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_USE_RELATIVE_PATHS

        © 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_VERBOSE_MAKEFILE — 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_VERSION" href="CMAKE_VERSION.html" />
    <link rel="prev" title="CMAKE_TWEAK_VERSION" href="CMAKE_TWEAK_VERSION.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VERBOSE_MAKEFILE

CMAKE_VERBOSE_MAKEFILE¶

Enable verbose output from Makefile builds.

This variable is a cache entry initialized (to FALSE) by
the project() command.  Users may enable the option
in their local build tree to get more verbose output from
Makefile builds and show each command line as it is launched.

Previous topic

CMAKE_TWEAK_VERSION

Next topic

CMAKE_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_VERBOSE_MAKEFILE

        © 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_VERIFY_INTERFACE_HEADER_SETS — 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_VISIBILITY_INLINES_HIDDEN" href="CMAKE_VISIBILITY_INLINES_HIDDEN.html" />
    <link rel="prev" title="CMAKE_UNITY_BUILD_UNIQUE_ID" href="CMAKE_UNITY_BUILD_UNIQUE_ID.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VERIFY_INTERFACE_HEADER_SETS

CMAKE_VERIFY_INTERFACE_HEADER_SETS¶

New in version 3.24.

This variable is used to initialize the
VERIFY_INTERFACE_HEADER_SETS property of targets when they are
created.  Setting it to true enables header set verification.

Projects should not normally set this variable, it is intended as a developer
control to be set on the cmake(1) command line or other
equivalent methods.  The developer must have the ability to enable or
disable header set verification according to the capabilities of their own
machine and compiler.

Verification of a dependency's header sets is not typically of interest
to developers.  Therefore, FetchContent_MakeAvailable() explicitly
sets CMAKE_VERIFY_INTERFACE_HEADER_SETS to false for the duration of its
call, but restores its original value before returning.  If a project brings
a dependency directly into the main build (e.g. calling
add_subdirectory() on a vendored project from a git submodule), it
should also do likewise.  For example:

# Save original setting so we can restore it later
set(want_header_set_verification ${CMAKE_VERIFY_INTERFACE_HEADER_SETS})

# Include the vendored dependency with header set verification disabled
set(CMAKE_VERIFY_INTERFACE_HEADER_SETS OFF)
add_subdirectory(...)   # Vendored sources, e.g. from git submodules

# Add the project's own sources. Restore the developer's original choice
# for whether to enable header set verification.
set(CMAKE_VERIFY_INTERFACE_HEADER_SETS ${want_header_set_verification})
add_subdirectory(src)

By default, this variable is not set, which will result in header set
verification being disabled.

Previous topic

CMAKE_UNITY_BUILD_UNIQUE_ID

Next topic

CMAKE_VISIBILITY_INLINES_HIDDEN

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_VERIFY_INTERFACE_HEADER_SETS

        © 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_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_DEVENV_COMMAND" href="CMAKE_VS_DEVENV_COMMAND.html" />
    <link rel="prev" title="CMAKE_VERBOSE_MAKEFILE" href="CMAKE_VERBOSE_MAKEFILE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VERSION

CMAKE_VERSION¶

The CMake version string as three non-negative integer components
separated by . and possibly followed by - and other information.
The first two components represent the feature level and the third
component represents either a bug-fix level or development date.

Release versions and release candidate versions of CMake use the format:

<major>.<minor>.<patch>[-rc<n>]

where the <patch> component is less than 20000000.  Development
versions of CMake use the format:

<major>.<minor>.<date>[-<id>]

where the <date> component is of format CCYYMMDD and <id>
may contain arbitrary text.  This represents development as of a
particular date following the <major>.<minor> feature release.

Individual component values are also available in variables:

CMAKE_MAJOR_VERSION

CMAKE_MINOR_VERSION

CMAKE_PATCH_VERSION

CMAKE_TWEAK_VERSION

Use the if() command VERSION_LESS, VERSION_GREATER,
VERSION_EQUAL, VERSION_LESS_EQUAL, or VERSION_GREATER_EQUAL
operators to compare version string values against CMAKE_VERSION using a
component-wise test.  Version component values may be 10 or larger so do not
attempt to compare version strings as floating-point numbers.

Note

CMake versions 2.8.2 through 2.8.12 used three components for the
feature level.  Release versions represented the bug-fix level in a
fourth component, i.e. <major>.<minor>.<patch>[.<tweak>][-rc<n>].
Development versions represented the development date in the fourth
component, i.e. <major>.<minor>.<patch>.<date>[-<id>].

CMake versions prior to 2.8.2 used three components for the
feature level and had no bug-fix component.  Release versions
used an even-valued second component, i.e.
<major>.<even-minor>.<patch>[-rc<n>].  Development versions
used an odd-valued second component with the development date as
the third component, i.e. <major>.<odd-minor>.<date>.

The CMAKE_VERSION variable is defined by CMake 2.6.3 and higher.
Earlier versions defined only the individual component variables.

Previous topic

CMAKE_VERBOSE_MAKEFILE

Next topic

CMAKE_VS_DEVENV_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_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_VISIBILITY_INLINES_HIDDEN — 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_DEBUGGER_COMMAND" href="CMAKE_VS_DEBUGGER_COMMAND.html" />
    <link rel="prev" title="CMAKE_VERIFY_INTERFACE_HEADER_SETS" href="CMAKE_VERIFY_INTERFACE_HEADER_SETS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VISIBILITY_INLINES_HIDDEN

CMAKE_VISIBILITY_INLINES_HIDDEN¶

Default value for the VISIBILITY_INLINES_HIDDEN target
property when a target is created.

Previous topic

CMAKE_VERIFY_INTERFACE_HEADER_SETS

Next topic

CMAKE_VS_DEBUGGER_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_VISIBILITY_INLINES_HIDDEN

        © 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_DEBUGGER_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_DEBUGGER_COMMAND_ARGUMENTS" href="CMAKE_VS_DEBUGGER_COMMAND_ARGUMENTS.html" />
    <link rel="prev" title="CMAKE_VISIBILITY_INLINES_HIDDEN" href="CMAKE_VISIBILITY_INLINES_HIDDEN.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_DEBUGGER_COMMAND

CMAKE_VS_DEBUGGER_COMMAND¶

New in version 3.27.

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

Previous topic

CMAKE_VISIBILITY_INLINES_HIDDEN

Next topic

CMAKE_VS_DEBUGGER_COMMAND_ARGUMENTS

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_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_DEBUGGER_COMMAND_ARGUMENTS — 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_DEBUGGER_ENVIRONMENT" href="CMAKE_VS_DEBUGGER_ENVIRONMENT.html" />
    <link rel="prev" title="CMAKE_VS_DEBUGGER_COMMAND" href="CMAKE_VS_DEBUGGER_COMMAND.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_DEBUGGER_COMMAND_ARGUMENTS

CMAKE_VS_DEBUGGER_COMMAND_ARGUMENTS¶

New in version 3.27.

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

Previous topic

CMAKE_VS_DEBUGGER_COMMAND

Next topic

CMAKE_VS_DEBUGGER_ENVIRONMENT

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_COMMAND_ARGUMENTS

        © 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_DEBUGGER_ENVIRONMENT — 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_DEBUGGER_WORKING_DIRECTORY" href="CMAKE_VS_DEBUGGER_WORKING_DIRECTORY.html" />
    <link rel="prev" title="CMAKE_VS_DEBUGGER_COMMAND_ARGUMENTS" href="CMAKE_VS_DEBUGGER_COMMAND_ARGUMENTS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_VS_DEBUGGER_ENVIRONMENT

CMAKE_VS_DEBUGGER_ENVIRONMENT¶

New in version 3.27.

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

Previous topic

CMAKE_VS_DEBUGGER_COMMAND_ARGUMENTS

Next topic

CMAKE_VS_DEBUGGER_WORKING_DIRECTORY

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_ENVIRONMENT

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