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_GENERATOR_PLATFORM — 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_GENERATOR_TOOLSET" href="CMAKE_GENERATOR_TOOLSET.html" />
    <link rel="prev" title="CMAKE_GENERATOR_INSTANCE" href="CMAKE_GENERATOR_INSTANCE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_GENERATOR_PLATFORM

CMAKE_GENERATOR_PLATFORM¶

New in version 3.1.

Generator-specific target platform specification provided by user.

Some CMake generators support a target platform name to be given
to the native build system to choose a compiler toolchain.
If the user specifies a platform name (e.g. via the cmake -A
option or via the CMAKE_GENERATOR_PLATFORM environment variable)
the value will be available in this variable.

The value of this variable should never be modified by project code.
A toolchain file specified by the CMAKE_TOOLCHAIN_FILE
variable may initialize CMAKE_GENERATOR_PLATFORM.  Once a given
build tree has been initialized with a particular value for this
variable, changing the value has undefined behavior.

Platform specification is supported only on specific generators:

For Visual Studio Generators with VS 2005 and above this
specifies the target architecture.

For Green Hills MULTI this specifies the target architecture.

See native build system documentation for allowed platform names.

Visual Studio Platform Selection¶

The Visual Studio Generators support platform specification
using one of these forms:

platform

platform[,key=value]*

key=value[,key=value]*

The platform specifies the target platform (VS target architecture),
such as x64, ARM64, or Win32.  The selected platform
name is provided in the CMAKE_VS_PLATFORM_NAME variable.

The key=value pairs form a comma-separated list of options to
specify generator-specific details of the platform selection.
Supported pairs are:

version=<version>

New in version 3.27.

Specify the Windows SDK version to use.  This is supported by VS 2015 and
above when targeting Windows or Windows Store.  CMake will set the
CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION variable to the
selected SDK version.

The <version> may be one of:

10.0

Specify that any 10.0 SDK version may be used, and let Visual Studio
pick one.  This is supported by VS 2019 and above.

10.0.<build>.<increment>

Specify the exact 4-component SDK version, e.g., 10.0.19041.0.
The specified version of the SDK must be installed.  It may not exceed
the value of CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION_MAXIMUM,
if that variable is set.

8.1

Specify the 8.1 SDK version.  This is always supported by VS 2015.
On VS 2017 and above the 8.1 SDK must be installed.

If the version field is not specified, CMake selects a version as
described in the CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION
variable documentation.

Table of Contents

CMAKE_GENERATOR_PLATFORM

Visual Studio Platform Selection

Previous topic

CMAKE_GENERATOR_INSTANCE

Next topic

CMAKE_GENERATOR_TOOLSET

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_GENERATOR_PLATFORM

        © 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_GENERATOR_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_IMPORT_LIBRARY_PREFIX" href="CMAKE_IMPORT_LIBRARY_PREFIX.html" />
    <link rel="prev" title="CMAKE_GENERATOR_PLATFORM" href="CMAKE_GENERATOR_PLATFORM.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_GENERATOR_TOOLSET

CMAKE_GENERATOR_TOOLSET¶

Native build system toolset specification provided by user.

Some CMake generators support a toolset specification to tell the
native build system how to choose a compiler.  If the user specifies
a toolset (e.g. via the cmake -T option or via
the CMAKE_GENERATOR_TOOLSET environment variable) the value
will be available in this variable.

The value of this variable should never be modified by project code.
A toolchain file specified by the CMAKE_TOOLCHAIN_FILE
variable may initialize CMAKE_GENERATOR_TOOLSET.  Once a given
build tree has been initialized with a particular value for this
variable, changing the value has undefined behavior.

Toolset specification is supported only on specific generators:

Visual Studio Generators for VS 2010 and above

The Xcode generator for Xcode 3.0 and above

The Green Hills MULTI generator

See native build system documentation for allowed toolset names.

Visual Studio Toolset Selection¶

The Visual Studio Generators support toolset specification
using one of these forms:

toolset

toolset[,key=value]*

key=value[,key=value]*

The toolset specifies the toolset name.  The selected toolset name
is provided in the CMAKE_VS_PLATFORM_TOOLSET variable.

The key=value pairs form a comma-separated list of options to
specify generator-specific details of the toolset selection.
Supported pairs are:

cuda=<version>|<path>

Specify the CUDA toolkit version to use or the path to a
standalone CUDA toolkit directory.  Supported by VS 2010
and above. The version can only be used with the CUDA
toolkit VS integration globally installed.
See the CMAKE_VS_PLATFORM_TOOLSET_CUDA and
CMAKE_VS_PLATFORM_TOOLSET_CUDA_CUSTOM_DIR variables.

fortran=<compiler>

New in version 3.29.

Specify the Fortran compiler to use, among those that integrate with VS.
The value may be one of:

ifort

Intel classic Fortran compiler.

ifx

Intel oneAPI Fortran compiler.

See the CMAKE_VS_PLATFORM_TOOLSET_FORTRAN variable.

host=<arch>

Specify the host tools architecture as x64 or x86.
Supported by VS 2013 and above.
See the CMAKE_VS_PLATFORM_TOOLSET_HOST_ARCHITECTURE
variable.

version=<version>

Specify the toolset version to use.  Supported by VS 2017
and above with the specified toolset installed.
See the CMAKE_VS_PLATFORM_TOOLSET_VERSION variable.

VCTargetsPath=<path>

Specify an alternative VCTargetsPath value for Visual Studio
project files.  This allows use of VS platform extension configuration
files (.props and .targets) that are not installed with VS.

Visual Studio Toolset Customization¶

These are unstable interfaces with no compatibility guarantees
because they hook into undocumented internal CMake implementation details.
Institutions may use these to internally maintain support for non-public
Visual Studio platforms and toolsets, but must accept responsibility to
make updates as changes are made to CMake.

Additional key=value pairs are available:

customFlagTableDir=<path>

New in version 3.21.

Specify the absolute path to a directory from which to load custom
flag tables stored as JSON documents with file names of the form
<platform>_<toolset>_<tool>.json or <platform>_<tool>.json,
where <platform> is the CMAKE_VS_PLATFORM_NAME,
<toolset> is the CMAKE_VS_PLATFORM_TOOLSET,
and <tool> is the tool for which the flag table is meant.
This naming pattern is an internal CMake implementation detail.
The <tool> names are undocumented.  The format of the .json
flag table files is undocumented.

Table of Contents

CMAKE_GENERATOR_TOOLSET

Visual Studio Toolset Selection

Visual Studio Toolset Customization

Previous topic

CMAKE_GENERATOR_PLATFORM

Next topic

CMAKE_IMPORT_LIBRARY_PREFIX

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_GENERATOR_TOOLSET

        © 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_GHS_NO_SOURCE_GROUP_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_GLOBAL_AUTOGEN_TARGET" href="CMAKE_GLOBAL_AUTOGEN_TARGET.html" />
    <link rel="prev" title="CMAKE_FRAMEWORK_MULTI_CONFIG_POSTFIX_<CONFIG>" href="CMAKE_FRAMEWORK_MULTI_CONFIG_POSTFIX_CONFIG.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_GHS_NO_SOURCE_GROUP_FILE

CMAKE_GHS_NO_SOURCE_GROUP_FILE¶

New in version 3.14.

ON / OFF boolean to control if the project file for a target should
be one single file or multiple files.  Refer to
GHS_NO_SOURCE_GROUP_FILE for further details.

Previous topic

CMAKE_FRAMEWORK_MULTI_CONFIG_POSTFIX_<CONFIG>

Next topic

CMAKE_GLOBAL_AUTOGEN_TARGET

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_GHS_NO_SOURCE_GROUP_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_GLOBAL_AUTOGEN_TARGET — 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_GLOBAL_AUTOGEN_TARGET_NAME" href="CMAKE_GLOBAL_AUTOGEN_TARGET_NAME.html" />
    <link rel="prev" title="CMAKE_GHS_NO_SOURCE_GROUP_FILE" href="CMAKE_GHS_NO_SOURCE_GROUP_FILE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_GLOBAL_AUTOGEN_TARGET

CMAKE_GLOBAL_AUTOGEN_TARGET¶

New in version 3.14.

Switch to enable generation of a global autogen target.

When CMAKE_GLOBAL_AUTOGEN_TARGET is enabled, a custom target
autogen is generated.  This target depends on all AUTOMOC and
AUTOUIC generated The <ORIGIN>_autogen target targets in the project.
By building the global autogen target, all AUTOMOC and
AUTOUIC files in the project will be generated.

The name of the global autogen target can be changed by setting
CMAKE_GLOBAL_AUTOGEN_TARGET_NAME.

By default CMAKE_GLOBAL_AUTOGEN_TARGET is unset.

See the cmake-qt(7) manual for more information on using CMake
with Qt.

Note

The <ORIGIN>_autogen target targets by default inherit their origin target's
dependencies. This might result in unintended dependency target builds when
only The <ORIGIN>_autogen target targets are built.  A solution is to disable
AUTOGEN_ORIGIN_DEPENDS on the respective origin targets.

Previous topic

CMAKE_GHS_NO_SOURCE_GROUP_FILE

Next topic

CMAKE_GLOBAL_AUTOGEN_TARGET_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_GLOBAL_AUTOGEN_TARGET

        © 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_GLOBAL_AUTOGEN_TARGET_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_GLOBAL_AUTORCC_TARGET" href="CMAKE_GLOBAL_AUTORCC_TARGET.html" />
    <link rel="prev" title="CMAKE_GLOBAL_AUTOGEN_TARGET" href="CMAKE_GLOBAL_AUTOGEN_TARGET.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_GLOBAL_AUTOGEN_TARGET_NAME

CMAKE_GLOBAL_AUTOGEN_TARGET_NAME¶

New in version 3.14.

Change the name of the global autogen target.

When CMAKE_GLOBAL_AUTOGEN_TARGET is enabled, a global custom target
named autogen is created.  CMAKE_GLOBAL_AUTOGEN_TARGET_NAME
allows to set a different name for that target.

By default CMAKE_GLOBAL_AUTOGEN_TARGET_NAME is unset.

See the cmake-qt(7) manual for more information on using CMake
with Qt.

Previous topic

CMAKE_GLOBAL_AUTOGEN_TARGET

Next topic

CMAKE_GLOBAL_AUTORCC_TARGET

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_GLOBAL_AUTOGEN_TARGET_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_GLOBAL_AUTORCC_TARGET — 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_GLOBAL_AUTORCC_TARGET_NAME" href="CMAKE_GLOBAL_AUTORCC_TARGET_NAME.html" />
    <link rel="prev" title="CMAKE_GLOBAL_AUTOGEN_TARGET_NAME" href="CMAKE_GLOBAL_AUTOGEN_TARGET_NAME.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_GLOBAL_AUTORCC_TARGET

CMAKE_GLOBAL_AUTORCC_TARGET¶

New in version 3.14.

Switch to enable generation of a global autorcc target.

When CMAKE_GLOBAL_AUTORCC_TARGET is enabled, a custom target
autorcc is generated. This target depends on all AUTORCC
generated <ORIGIN>_arcc_<QRC> targets in the project.
By building the global autorcc target, all AUTORCC
files in the project will be generated.

The name of the global autorcc target can be changed by setting
CMAKE_GLOBAL_AUTORCC_TARGET_NAME.

By default CMAKE_GLOBAL_AUTORCC_TARGET is unset.

See the cmake-qt(7) manual for more information on using CMake
with Qt.

Previous topic

CMAKE_GLOBAL_AUTOGEN_TARGET_NAME

Next topic

CMAKE_GLOBAL_AUTORCC_TARGET_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_GLOBAL_AUTORCC_TARGET

        © 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_GLOBAL_AUTORCC_TARGET_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_GNUtoMS" href="CMAKE_GNUtoMS.html" />
    <link rel="prev" title="CMAKE_GLOBAL_AUTORCC_TARGET" href="CMAKE_GLOBAL_AUTORCC_TARGET.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_GLOBAL_AUTORCC_TARGET_NAME

CMAKE_GLOBAL_AUTORCC_TARGET_NAME¶

New in version 3.14.

Change the name of the global autorcc target.

When CMAKE_GLOBAL_AUTORCC_TARGET is enabled, a global custom target
named autorcc is created.  CMAKE_GLOBAL_AUTORCC_TARGET_NAME
allows to set a different name for that target.

By default CMAKE_GLOBAL_AUTORCC_TARGET_NAME is unset.

See the cmake-qt(7) manual for more information on using CMake
with Qt.

Previous topic

CMAKE_GLOBAL_AUTORCC_TARGET

Next topic

CMAKE_GNUtoMS

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_GLOBAL_AUTORCC_TARGET_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_GNUtoMS — 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_INCLUDE_CURRENT_DIR" href="CMAKE_INCLUDE_CURRENT_DIR.html" />
    <link rel="prev" title="CMAKE_GLOBAL_AUTORCC_TARGET_NAME" href="CMAKE_GLOBAL_AUTORCC_TARGET_NAME.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_GNUtoMS

CMAKE_GNUtoMS¶

Convert GNU import libraries (.dll.a) to MS format (.lib).

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

Previous topic

CMAKE_GLOBAL_AUTORCC_TARGET_NAME

Next topic

CMAKE_INCLUDE_CURRENT_DIR

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_GNUtoMS

        © 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_HIP_ARCHITECTURES — 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_HIP_EXTENSIONS" href="CMAKE_HIP_EXTENSIONS.html" />
    <link rel="prev" title="CMAKE_Fortran_MODOUT_FLAG" href="CMAKE_Fortran_MODOUT_FLAG.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_HIP_ARCHITECTURES

CMAKE_HIP_ARCHITECTURES¶

New in version 3.21.

List of GPU architectures to for which to generate device code.
Architecture names are interpreted based on CMAKE_HIP_PLATFORM.

This is initialized based on the value of CMAKE_HIP_PLATFORM:

amd

Uses architectures reported by rocm_agent_enumerator, if available,
and otherwise to a default chosen by the compiler.

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

Previous topic

CMAKE_Fortran_MODOUT_FLAG

Next topic

CMAKE_HIP_EXTENSIONS

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_HIP_ARCHITECTURES

        © 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_HIP_EXTENSIONS — 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_HIP_PLATFORM" href="CMAKE_HIP_PLATFORM.html" />
    <link rel="prev" title="CMAKE_HIP_ARCHITECTURES" href="CMAKE_HIP_ARCHITECTURES.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_HIP_EXTENSIONS

CMAKE_HIP_EXTENSIONS¶

New in version 3.21.

Default value for HIP_EXTENSIONS target property if set when a
target is created.

See the cmake-compile-features(7) manual for information on
compile features and a list of supported compilers.

Previous topic

CMAKE_HIP_ARCHITECTURES

Next topic

CMAKE_HIP_PLATFORM

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_HIP_EXTENSIONS

        © 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_HIP_PLATFORM — 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_HIP_STANDARD" href="CMAKE_HIP_STANDARD.html" />
    <link rel="prev" title="CMAKE_HIP_EXTENSIONS" href="CMAKE_HIP_EXTENSIONS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_HIP_PLATFORM

CMAKE_HIP_PLATFORM¶

New in version 3.28.

GPU platform for which HIP language sources are to be compiled.

The value must be one of:

amd

AMD GPUs

nvidia

NVIDIA GPUs

If not specified, a default is computed via hipconfig --platform.

CMAKE_HIP_ARCHITECTURES entries are interpreted with
as architectures of the GPU platform.

CMAKE_HIP_COMPILER must target
the same GPU platform.

Previous topic

CMAKE_HIP_EXTENSIONS

Next topic

CMAKE_HIP_STANDARD

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_HIP_PLATFORM

        © 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_HIP_STANDARD — 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_HIP_STANDARD_REQUIRED" href="CMAKE_HIP_STANDARD_REQUIRED.html" />
    <link rel="prev" title="CMAKE_HIP_PLATFORM" href="CMAKE_HIP_PLATFORM.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_HIP_STANDARD

CMAKE_HIP_STANDARD¶

New in version 3.21.

Default value for HIP_STANDARD target property if set when a target
is created.

See the cmake-compile-features(7) manual for information on
compile features and a list of supported compilers.

Previous topic

CMAKE_HIP_PLATFORM

Next topic

CMAKE_HIP_STANDARD_REQUIRED

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_HIP_STANDARD

        © 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_HIP_STANDARD_REQUIRED — 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_ISPC_HEADER_DIRECTORY" href="CMAKE_ISPC_HEADER_DIRECTORY.html" />
    <link rel="prev" title="CMAKE_HIP_STANDARD" href="CMAKE_HIP_STANDARD.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_HIP_STANDARD_REQUIRED

CMAKE_HIP_STANDARD_REQUIRED¶

New in version 3.21.

Default value for HIP_STANDARD_REQUIRED target property if set when
a target is created.

See the cmake-compile-features(7) manual for information on
compile features and a list of supported compilers.

Previous topic

CMAKE_HIP_STANDARD

Next topic

CMAKE_ISPC_HEADER_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_HIP_STANDARD_REQUIRED

        © 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_HOME_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_INTERNAL_PLATFORM_ABI" href="CMAKE_INTERNAL_PLATFORM_ABI.html" />
    <link rel="prev" title="ENV" href="ENV.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_HOME_DIRECTORY

CMAKE_HOME_DIRECTORY¶

Path to top of source tree. Same as CMAKE_SOURCE_DIR.

This is an internal cache entry used to locate the source directory
when loading a CMakeCache.txt from a build tree.  It should not
be used in project code.  The variable CMAKE_SOURCE_DIR
has the same value and should be preferred.

Previous topic

ENV

Next topic

CMAKE_INTERNAL_PLATFORM_ABI

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_HOME_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_HOST_APPLE — 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_HOST_BSD" href="CMAKE_HOST_BSD.html" />
    <link rel="prev" title="CMAKE_COMPILER_2005" href="CMAKE_COMPILER_2005.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_HOST_APPLE

CMAKE_HOST_APPLE¶

True for Apple macOS operating systems.

Set to true when the host system is Apple macOS.

Previous topic

CMAKE_COMPILER_2005

Next topic

CMAKE_HOST_BSD

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_HOST_APPLE

        © 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_HOST_BSD — 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_HOST_LINUX" href="CMAKE_HOST_LINUX.html" />
    <link rel="prev" title="CMAKE_HOST_APPLE" href="CMAKE_HOST_APPLE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_HOST_BSD

CMAKE_HOST_BSD¶

New in version 3.25.

Set to a string value when the host system is BSD. This value can be one of
the following: DragonFlyBSD, FreeBSD, OpenBSD, or NetBSD.

Previous topic

CMAKE_HOST_APPLE

Next topic

CMAKE_HOST_LINUX

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_HOST_BSD

        © 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_HOST_LINUX — 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_HOST_SOLARIS" href="CMAKE_HOST_SOLARIS.html" />
    <link rel="prev" title="CMAKE_HOST_BSD" href="CMAKE_HOST_BSD.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_HOST_LINUX

CMAKE_HOST_LINUX¶

New in version 3.25.

Set to true when the host system is Linux.

Previous topic

CMAKE_HOST_BSD

Next topic

CMAKE_HOST_SOLARIS

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_HOST_LINUX

        © 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_HOST_SOLARIS — 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_HOST_SYSTEM" href="CMAKE_HOST_SYSTEM.html" />
    <link rel="prev" title="CMAKE_HOST_LINUX" href="CMAKE_HOST_LINUX.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_HOST_SOLARIS

CMAKE_HOST_SOLARIS¶

New in version 3.6.

True for Oracle Solaris operating systems.

Set to true when the host system is Oracle Solaris.

Previous topic

CMAKE_HOST_LINUX

Next topic

CMAKE_HOST_SYSTEM

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_HOST_SOLARIS

        © 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_HOST_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_HOST_SYSTEM_NAME" href="CMAKE_HOST_SYSTEM_NAME.html" />
    <link rel="prev" title="CMAKE_HOST_SOLARIS" href="CMAKE_HOST_SOLARIS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_HOST_SYSTEM

CMAKE_HOST_SYSTEM¶

Composite Name of OS CMake is being run on.

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

Previous topic

CMAKE_HOST_SOLARIS

Next topic

CMAKE_HOST_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_HOST_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_HOST_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_HOST_SYSTEM_PROCESSOR" href="CMAKE_HOST_SYSTEM_PROCESSOR.html" />
    <link rel="prev" title="CMAKE_HOST_SYSTEM" href="CMAKE_HOST_SYSTEM.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_HOST_SYSTEM_NAME

CMAKE_HOST_SYSTEM_NAME¶

Name of the OS CMake is running on.

On systems that have the uname command, this variable is set to the
output of uname -s.  Linux, Windows, and Darwin for macOS
are the values found on the big three operating systems.

For a list of possible values, see CMAKE_SYSTEM_NAME.

Previous topic

CMAKE_HOST_SYSTEM

Next topic

CMAKE_HOST_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_HOST_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_HOST_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_HOST_SYSTEM_VERSION" href="CMAKE_HOST_SYSTEM_VERSION.html" />
    <link rel="prev" title="CMAKE_HOST_SYSTEM_NAME" href="CMAKE_HOST_SYSTEM_NAME.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_HOST_SYSTEM_PROCESSOR

CMAKE_HOST_SYSTEM_PROCESSOR¶

The name of the CPU CMake is running on.

Windows Platforms¶

On Windows, this variable is set to the value of the environment variable
PROCESSOR_ARCHITECTURE.

Unix Platforms¶

On systems that support uname, this variable is set to the output of:

uname -m on GNU, Linux, Cygwin, Android, or

arch on OpenBSD, or

on other systems,

uname -p if its exit code is nonzero, or

uname -m otherwise.

macOS Platforms¶

The value of uname -m is used by default.

On Apple Silicon hosts, the architecture printed by uname -m may vary
based on CMake's own architecture and that of the invoking process tree.

New in version 3.19.2: On Apple Silicon hosts:

The CMAKE_APPLE_SILICON_PROCESSOR variable or
the CMAKE_APPLE_SILICON_PROCESSOR environment variable
may be set to specify the host architecture explicitly.

If CMAKE_OSX_ARCHITECTURES is not set, CMake adds explicit
flags to tell the compiler to build for the host architecture so the
toolchain does not have to guess based on the process tree's architecture.

Table of Contents

CMAKE_HOST_SYSTEM_PROCESSOR

Windows Platforms

Unix Platforms

macOS Platforms

Previous topic

CMAKE_HOST_SYSTEM_NAME

Next topic

CMAKE_HOST_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_HOST_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_HOST_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="CMAKE_HOST_UNIX" href="CMAKE_HOST_UNIX.html" />
    <link rel="prev" title="CMAKE_HOST_SYSTEM_PROCESSOR" href="CMAKE_HOST_SYSTEM_PROCESSOR.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_HOST_SYSTEM_VERSION

CMAKE_HOST_SYSTEM_VERSION¶

The OS version CMake is running on.

A numeric version string for the system.  On systems that support
uname, this variable is set to the output of uname -r. On other
systems this is set to major-minor version numbers.

Previous topic

CMAKE_HOST_SYSTEM_PROCESSOR

Next topic

CMAKE_HOST_UNIX

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_HOST_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_HOST_UNIX — 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_HOST_WIN32" href="CMAKE_HOST_WIN32.html" />
    <link rel="prev" title="CMAKE_HOST_SYSTEM_VERSION" href="CMAKE_HOST_SYSTEM_VERSION.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_HOST_UNIX

CMAKE_HOST_UNIX¶

True for UNIX and UNIX like operating systems.

Set to true when the host system is UNIX or UNIX like (i.e.  APPLE and
CYGWIN).

Previous topic

CMAKE_HOST_SYSTEM_VERSION

Next topic

CMAKE_HOST_WIN32

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_HOST_UNIX

        © 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_HOST_WIN32 — 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_LIBRARY_ARCHITECTURE" href="CMAKE_LIBRARY_ARCHITECTURE.html" />
    <link rel="prev" title="CMAKE_HOST_UNIX" href="CMAKE_HOST_UNIX.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_HOST_WIN32

CMAKE_HOST_WIN32¶

True if the host system is running Windows, including Windows 64-bit and MSYS.

Set to false on Cygwin.

Previous topic

CMAKE_HOST_UNIX

Next topic

CMAKE_LIBRARY_ARCHITECTURE

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_HOST_WIN32

        © 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_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_IGNORE_PREFIX_PATH" href="CMAKE_IGNORE_PREFIX_PATH.html" />
    <link rel="prev" title="CMAKE_FRAMEWORK_PATH" href="CMAKE_FRAMEWORK_PATH.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_IGNORE_PATH

CMAKE_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_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_IGNORE_PATH as a full absolute path. CMAKE_IGNORE_PREFIX_PATH
provides a more appropriate way to ignore a whole search prefix.

find_package() is also affected by CMAKE_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_IGNORE_PATH
will be skipped for backward compatibility reasons, but new code should
prefer to use CMAKE_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.

By default, CMAKE_IGNORE_PATH is empty. It is intended to be set by the
project or the end user.

See also the following variables:

CMAKE_IGNORE_PREFIX_PATH

CMAKE_SYSTEM_IGNORE_PATH

CMAKE_PREFIX_PATH

CMAKE_LIBRARY_PATH

CMAKE_INCLUDE_PATH

CMAKE_PROGRAM_PATH

Previous topic

CMAKE_FRAMEWORK_PATH

Next topic

CMAKE_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_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_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_INCLUDE_DIRECTORIES_BEFORE" href="CMAKE_INCLUDE_DIRECTORIES_BEFORE.html" />
    <link rel="prev" title="CMAKE_IGNORE_PATH" href="CMAKE_IGNORE_PATH.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_IGNORE_PREFIX_PATH

CMAKE_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_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.

By default, CMAKE_IGNORE_PREFIX_PATH is empty. It is intended to be set by the
project or the end user.

See also the following variables:

CMAKE_IGNORE_PATH

CMAKE_SYSTEM_IGNORE_PREFIX_PATH

CMAKE_PREFIX_PATH

CMAKE_LIBRARY_PATH

CMAKE_INCLUDE_PATH

CMAKE_PROGRAM_PATH

Previous topic

CMAKE_IGNORE_PATH

Next topic

CMAKE_INCLUDE_DIRECTORIES_BEFORE

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_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_IMPORT_LIBRARY_PREFIX — 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_IMPORT_LIBRARY_SUFFIX" href="CMAKE_IMPORT_LIBRARY_SUFFIX.html" />
    <link rel="prev" title="CMAKE_GENERATOR_TOOLSET" href="CMAKE_GENERATOR_TOOLSET.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_IMPORT_LIBRARY_PREFIX

CMAKE_IMPORT_LIBRARY_PREFIX¶

The prefix for import libraries that you link to.

The prefix to use for the name of an import library if used on this
platform.

CMAKE_IMPORT_LIBRARY_PREFIX_<LANG> overrides this for language <LANG>.

Previous topic

CMAKE_GENERATOR_TOOLSET

Next topic

CMAKE_IMPORT_LIBRARY_SUFFIX

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_IMPORT_LIBRARY_PREFIX

        © 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_IMPORT_LIBRARY_SUFFIX — 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_JOB_POOL_COMPILE" href="CMAKE_JOB_POOL_COMPILE.html" />
    <link rel="prev" title="CMAKE_IMPORT_LIBRARY_PREFIX" href="CMAKE_IMPORT_LIBRARY_PREFIX.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_IMPORT_LIBRARY_SUFFIX

CMAKE_IMPORT_LIBRARY_SUFFIX¶

The suffix for import libraries that you link to.

The suffix to use for the end of an import library filename if used on
this platform.

CMAKE_IMPORT_LIBRARY_SUFFIX_<LANG> overrides this for language <LANG>.

Previous topic

CMAKE_IMPORT_LIBRARY_PREFIX

Next topic

CMAKE_JOB_POOL_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_IMPORT_LIBRARY_SUFFIX

        © 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_INCLUDE_CURRENT_DIR — CMake 3.29.0-rc3 Documentation</title>

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_INCLUDE_CURRENT_DIR

CMAKE_INCLUDE_CURRENT_DIR¶

Automatically add the current source and build directories to the include path.

If this variable is enabled, CMake automatically adds
CMAKE_CURRENT_SOURCE_DIR and CMAKE_CURRENT_BINARY_DIR
to the include path for each directory.  These additional include
directories do not propagate down to subdirectories.  This is useful
mainly for out-of-source builds, where files generated into the build
tree are included by files located in the source tree.

By default CMAKE_INCLUDE_CURRENT_DIR is OFF.

Previous topic

CMAKE_GNUtoMS

Next topic

CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE

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_INCLUDE_CURRENT_DIR

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE — 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_INSTALL_NAME_DIR" href="CMAKE_INSTALL_NAME_DIR.html" />
    <link rel="prev" title="CMAKE_INCLUDE_CURRENT_DIR" href="CMAKE_INCLUDE_CURRENT_DIR.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE

CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE¶

Automatically add the current source and build directories to the
INTERFACE_INCLUDE_DIRECTORIES target property.

If this variable is enabled, CMake automatically adds for each shared
library target, static library target, module target and executable
target, CMAKE_CURRENT_SOURCE_DIR and
CMAKE_CURRENT_BINARY_DIR to
the INTERFACE_INCLUDE_DIRECTORIES target property.  By default
CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE is OFF.

Previous topic

CMAKE_INCLUDE_CURRENT_DIR

Next topic

CMAKE_INSTALL_NAME_DIR

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE

        © 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_INCLUDE_DIRECTORIES_BEFORE — 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_INCLUDE_DIRECTORIES_PROJECT_BEFORE" href="CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE.html" />
    <link rel="prev" title="CMAKE_IGNORE_PREFIX_PATH" href="CMAKE_IGNORE_PREFIX_PATH.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_INCLUDE_DIRECTORIES_BEFORE

CMAKE_INCLUDE_DIRECTORIES_BEFORE¶

Whether to append or prepend directories by default in
include_directories().

This variable affects the default behavior of the include_directories()
command.  Setting this variable to ON is equivalent to using the BEFORE
option in all uses of that command.

Previous topic

CMAKE_IGNORE_PREFIX_PATH

Next topic

CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE

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_INCLUDE_DIRECTORIES_BEFORE

        © 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_INCLUDE_DIRECTORIES_PROJECT_BEFORE — 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_INCLUDE_PATH" href="CMAKE_INCLUDE_PATH.html" />
    <link rel="prev" title="CMAKE_INCLUDE_DIRECTORIES_BEFORE" href="CMAKE_INCLUDE_DIRECTORIES_BEFORE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE

CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE¶

Whether to force prepending of project include directories.

This variable affects the order of include directories generated in compiler
command lines.  If set to ON, it causes the CMAKE_SOURCE_DIR
and the CMAKE_BINARY_DIR to appear first.

Previous topic

CMAKE_INCLUDE_DIRECTORIES_BEFORE

Next topic

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

        © 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_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_INSTALL_DEFAULT_COMPONENT_NAME" href="CMAKE_INSTALL_DEFAULT_COMPONENT_NAME.html" />
    <link rel="prev" title="CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE" href="CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_INCLUDE_PATH

CMAKE_INCLUDE_PATH¶

Semicolon-separated list of directories specifying a search path
for the find_file() and find_path() commands.  By default it
is empty, it is intended to be set by the project.

There is also an environment variable CMAKE_INCLUDE_PATH, which is used
as an additional list of search directories.

See also CMAKE_SYSTEM_INCLUDE_PATH and CMAKE_PREFIX_PATH.

Previous topic

CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE

Next topic

CMAKE_INSTALL_DEFAULT_COMPONENT_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_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_INSTALL_DEFAULT_COMPONENT_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_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS" href="CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS.html" />
    <link rel="prev" title="CMAKE_INCLUDE_PATH" href="CMAKE_INCLUDE_PATH.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_INSTALL_DEFAULT_COMPONENT_NAME

CMAKE_INSTALL_DEFAULT_COMPONENT_NAME¶

Default component used in install() commands.

If an install() command is used without the COMPONENT argument,
these files will be grouped into a default component.  The name of this
default install component will be taken from this variable.  It
defaults to Unspecified.

Previous topic

CMAKE_INCLUDE_PATH

Next topic

CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS

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_INSTALL_DEFAULT_COMPONENT_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_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS — 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_INSTALL_MESSAGE" href="CMAKE_INSTALL_MESSAGE.html" />
    <link rel="prev" title="CMAKE_INSTALL_DEFAULT_COMPONENT_NAME" href="CMAKE_INSTALL_DEFAULT_COMPONENT_NAME.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS

CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS¶

New in version 3.11.

Default permissions for directories created implicitly during installation
of files by install() and file(INSTALL).

If make install is invoked and directories are implicitly created they
get permissions set by CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS
variable or platform specific default permissions if the variable is not set.

Implicitly created directories are created if they are not explicitly installed
by install() command but are needed to install a file on a certain
path. Example of such locations are directories created due to the setting of
CMAKE_INSTALL_PREFIX.

Expected content of the CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS
variable is a list of permissions that can be used by install() command
PERMISSIONS section.

Example usage:

set(CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS
     OWNER_READ
     OWNER_WRITE
     OWNER_EXECUTE
     GROUP_READ
   )

Previous topic

CMAKE_INSTALL_DEFAULT_COMPONENT_NAME

Next topic

CMAKE_INSTALL_MESSAGE

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_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS

        © 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_INSTALL_MESSAGE — 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_INSTALL_PREFIX" href="CMAKE_INSTALL_PREFIX.html" />
    <link rel="prev" title="CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS" href="CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_INSTALL_MESSAGE

CMAKE_INSTALL_MESSAGE¶

New in version 3.1.

Specify verbosity of installation script code generated by the
install() command (using the file(INSTALL) command).
For paths that are newly installed or updated, installation
may print lines like:

-- Installing: /some/destination/path

For paths that are already up to date, installation may print
lines like:

-- Up-to-date: /some/destination/path

The CMAKE_INSTALL_MESSAGE variable may be set to control
which messages are printed:

ALWAYS

Print both Installing and Up-to-date messages.

LAZY

Print Installing but not Up-to-date messages.

NEVER

Print neither Installing nor Up-to-date messages.

Other values have undefined behavior and may not be diagnosed.

If this variable is not set, the default behavior is ALWAYS.

Previous topic

CMAKE_INSTALL_DEFAULT_DIRECTORY_PERMISSIONS

Next topic

CMAKE_INSTALL_PREFIX

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_INSTALL_MESSAGE

        © 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_INSTALL_NAME_DIR — CMake 3.29.0-rc3 Documentation</title>

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_INSTALL_NAME_DIR

CMAKE_INSTALL_NAME_DIR¶

Directory name for installed targets on Apple platforms.

CMAKE_INSTALL_NAME_DIR is used to initialize the
INSTALL_NAME_DIR property on all targets.  See that target
property for more information.

Previous topic

CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE

Next topic

CMAKE_INSTALL_REMOVE_ENVIRONMENT_RPATH

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_INSTALL_NAME_DIR

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_INSTALL_PREFIX — 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_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT" href="CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT.html" />
    <link rel="prev" title="CMAKE_INSTALL_MESSAGE" href="CMAKE_INSTALL_MESSAGE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_INSTALL_PREFIX

CMAKE_INSTALL_PREFIX¶

Install directory used by install().

If make install is invoked or INSTALL is built, this directory is
prepended onto all install directories.

This variable defaults as follows:

New in version 3.29: If the CMAKE_INSTALL_PREFIX environment variable is set,
its value is used as default for this variable.

c:/Program Files/${PROJECT_NAME} on Windows.

/usr/local on UNIX platforms.

See CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT for how a
project might choose its own default.

On UNIX one can use the DESTDIR mechanism in order to relocate the
whole installation to a staging area.  See the DESTDIR environment
variable for more information.

The installation prefix is also added to CMAKE_SYSTEM_PREFIX_PATH
so that find_package(), find_program(),
find_library(), find_path(), and find_file()
will search the prefix for other software. This behavior can be disabled by
setting the CMAKE_FIND_NO_INSTALL_PREFIX to TRUE before the
first project() invocation.

Note

Use the GNUInstallDirs module to provide GNU-style
options for the layout of directories within the installation.

The CMAKE_INSTALL_PREFIX may be defined when configuring a build tree
to set its installation prefix.  Or, when using the cmake(1)
command-line tool's --install mode, one may specify
a different prefix using the --prefix
option:

cmake --install . --prefix /my/install/prefix

Previous topic

CMAKE_INSTALL_MESSAGE

Next topic

CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_INSTALL_PREFIX

        © 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_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT — CMake 3.29.0-rc3 Documentation</title>

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT

CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT¶

New in version 3.7.1.

CMake sets this variable to a TRUE value when the
CMAKE_INSTALL_PREFIX has just been initialized to
its default value, typically on the first
run of CMake within a new build tree and the CMAKE_INSTALL_PREFIX
environment variable is not set on the first run of CMake. This can be used
by project code to change the default without overriding a user-provided value:

if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
  set(CMAKE_INSTALL_PREFIX "/my/default" CACHE PATH "..." FORCE)
endif()

Previous topic

CMAKE_INSTALL_PREFIX

Next topic

CMAKE_KATE_FILES_MODE

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_INSTALL_REMOVE_ENVIRONMENT_RPATH — 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_INSTALL_RPATH" href="CMAKE_INSTALL_RPATH.html" />
    <link rel="prev" title="CMAKE_INSTALL_NAME_DIR" href="CMAKE_INSTALL_NAME_DIR.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_INSTALL_REMOVE_ENVIRONMENT_RPATH

CMAKE_INSTALL_REMOVE_ENVIRONMENT_RPATH¶

New in version 3.16.

Sets the default for whether toolchain-defined rpaths should be removed during
installation.

CMAKE_INSTALL_REMOVE_ENVIRONMENT_RPATH is a boolean that provides the
default value for the INSTALL_REMOVE_ENVIRONMENT_RPATH property
of all subsequently created targets.

Previous topic

CMAKE_INSTALL_NAME_DIR

Next topic

CMAKE_INSTALL_RPATH

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_INSTALL_REMOVE_ENVIRONMENT_RPATH

        © 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_INSTALL_RPATH — 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_INSTALL_RPATH_USE_LINK_PATH" href="CMAKE_INSTALL_RPATH_USE_LINK_PATH.html" />
    <link rel="prev" title="CMAKE_INSTALL_REMOVE_ENVIRONMENT_RPATH" href="CMAKE_INSTALL_REMOVE_ENVIRONMENT_RPATH.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_INSTALL_RPATH

CMAKE_INSTALL_RPATH¶

The rpath to use for installed targets.

A semicolon-separated list specifying the rpath to use in installed
targets (for platforms that support it).  This is used to initialize
the target property INSTALL_RPATH for all targets.

Previous topic

CMAKE_INSTALL_REMOVE_ENVIRONMENT_RPATH

Next topic

CMAKE_INSTALL_RPATH_USE_LINK_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_INSTALL_RPATH

        © 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_INSTALL_RPATH_USE_LINK_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_INTERPROCEDURAL_OPTIMIZATION" href="CMAKE_INTERPROCEDURAL_OPTIMIZATION.html" />
    <link rel="prev" title="CMAKE_INSTALL_RPATH" href="CMAKE_INSTALL_RPATH.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_INSTALL_RPATH_USE_LINK_PATH

CMAKE_INSTALL_RPATH_USE_LINK_PATH¶

Add paths to linker search and installed rpath.

CMAKE_INSTALL_RPATH_USE_LINK_PATH is a boolean that if set to True
will append to the runtime search path (rpath) of installed binaries
any directories outside the project that are in the linker search path or
contain linked library files.  The directories are appended after the
value of the INSTALL_RPATH target property.

This variable is used to initialize the target property
INSTALL_RPATH_USE_LINK_PATH for all targets.

Previous topic

CMAKE_INSTALL_RPATH

Next topic

CMAKE_INTERPROCEDURAL_OPTIMIZATION

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_INSTALL_RPATH_USE_LINK_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_INTERNAL_PLATFORM_ABI — 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_<LANG>_COMPILER_ABI" href="CMAKE_LANG_COMPILER_ABI.html" />
    <link rel="prev" title="CMAKE_HOME_DIRECTORY" href="CMAKE_HOME_DIRECTORY.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_INTERNAL_PLATFORM_ABI

CMAKE_INTERNAL_PLATFORM_ABI¶

An internal variable subject to change.

This is used in determining the compiler ABI and is subject to change.

Previous topic

CMAKE_HOME_DIRECTORY

Next topic

CMAKE_<LANG>_COMPILER_ABI

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_INTERNAL_PLATFORM_ABI

        © 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_INTERPROCEDURAL_OPTIMIZATION — 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_INTERPROCEDURAL_OPTIMIZATION_<CONFIG>" href="CMAKE_INTERPROCEDURAL_OPTIMIZATION_CONFIG.html" />
    <link rel="prev" title="CMAKE_INSTALL_RPATH_USE_LINK_PATH" href="CMAKE_INSTALL_RPATH_USE_LINK_PATH.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_INTERPROCEDURAL_OPTIMIZATION

CMAKE_INTERPROCEDURAL_OPTIMIZATION¶

New in version 3.9.

Default value for INTERPROCEDURAL_OPTIMIZATION of targets.

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

Previous topic

CMAKE_INSTALL_RPATH_USE_LINK_PATH

Next topic

CMAKE_INTERPROCEDURAL_OPTIMIZATION_<CONFIG>

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_INTERPROCEDURAL_OPTIMIZATION

        © 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_INTERPROCEDURAL_OPTIMIZATION_<CONFIG> — 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_<LANG>_CLANG_TIDY" href="CMAKE_LANG_CLANG_TIDY.html" />
    <link rel="prev" title="CMAKE_INTERPROCEDURAL_OPTIMIZATION" href="CMAKE_INTERPROCEDURAL_OPTIMIZATION.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_INTERPROCEDURAL_OPTIMIZATION_<CONFIG>

<span id="variable:CMAKE_INTERPROCEDURAL_OPTIMIZATION_<CONFIG>">
CMAKE_INTERPROCEDURAL_OPTIMIZATION_<CONFIG>¶

New in version 3.9.

Default value for INTERPROCEDURAL_OPTIMIZATION_<CONFIG> of targets.

This variable is used to initialize the INTERPROCEDURAL_OPTIMIZATION_<CONFIG>
property on all the targets.  See that target property for additional
information.

Previous topic

CMAKE_INTERPROCEDURAL_OPTIMIZATION

Next topic

CMAKE_<LANG>_CLANG_TIDY

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_INTERPROCEDURAL_OPTIMIZATION_<CONFIG>

        © 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_IOS_INSTALL_COMBINED — 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_USE_RELATIVE_PATHS" href="CMAKE_USE_RELATIVE_PATHS.html" />
    <link rel="prev" title="MSVC90" href="MSVC90.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_IOS_INSTALL_COMBINED

CMAKE_IOS_INSTALL_COMBINED¶

New in version 3.5.

Deprecated since version 3.28: This is deprecated because IOS_INSTALL_COMBINED is deprecated.

Default value for IOS_INSTALL_COMBINED of targets.

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

Previous topic

MSVC90

Next topic

CMAKE_USE_RELATIVE_PATHS

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_IOS_INSTALL_COMBINED

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