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_ISPC_HEADER_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_ISPC_HEADER_SUFFIX" href="CMAKE_ISPC_HEADER_SUFFIX.html" />
    <link rel="prev" title="CMAKE_HIP_STANDARD_REQUIRED" href="CMAKE_HIP_STANDARD_REQUIRED.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_ISPC_HEADER_DIRECTORY

CMAKE_ISPC_HEADER_DIRECTORY¶

New in version 3.19.

ISPC generated header output directory.

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

Previous topic

CMAKE_HIP_STANDARD_REQUIRED

Next topic

CMAKE_ISPC_HEADER_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_ISPC_HEADER_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_ISPC_HEADER_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_ISPC_INSTRUCTION_SETS" href="CMAKE_ISPC_INSTRUCTION_SETS.html" />
    <link rel="prev" title="CMAKE_ISPC_HEADER_DIRECTORY" href="CMAKE_ISPC_HEADER_DIRECTORY.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_ISPC_HEADER_SUFFIX

CMAKE_ISPC_HEADER_SUFFIX¶

New in version 3.19.2.

Output suffix to be used for ISPC generated headers.

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

Previous topic

CMAKE_ISPC_HEADER_DIRECTORY

Next topic

CMAKE_ISPC_INSTRUCTION_SETS

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_ISPC_HEADER_SUFFIX

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

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

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_<LANG>_ANDROID_TOOLCHAIN_MACHINE" href="CMAKE_LANG_ANDROID_TOOLCHAIN_MACHINE.html" />
    <link rel="prev" title="CMAKE_ISPC_HEADER_SUFFIX" href="CMAKE_ISPC_HEADER_SUFFIX.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_ISPC_INSTRUCTION_SETS

CMAKE_ISPC_INSTRUCTION_SETS¶

New in version 3.19.

Default value for ISPC_INSTRUCTION_SETS property of targets.

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

Previous topic

CMAKE_ISPC_HEADER_SUFFIX

Next topic

CMAKE_<LANG>_ANDROID_TOOLCHAIN_MACHINE

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_ISPC_INSTRUCTION_SETS

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_JOB_POOLS — 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_AR" href="CMAKE_LANG_COMPILER_AR.html" />
    <link rel="prev" title="CMAKE_JOB_POOL_PRECOMPILE_HEADER" href="CMAKE_JOB_POOL_PRECOMPILE_HEADER.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_JOB_POOLS

CMAKE_JOB_POOLS¶

New in version 3.11.

If the JOB_POOLS global property is not set, the value
of this variable is used in its place.  See JOB_POOLS
for additional information.

Previous topic

CMAKE_JOB_POOL_PRECOMPILE_HEADER

Next topic

CMAKE_<LANG>_COMPILER_AR

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_JOB_POOLS

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_JOB_POOL_COMPILE

CMAKE_JOB_POOL_COMPILE¶

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

Previous topic

CMAKE_IMPORT_LIBRARY_SUFFIX

Next topic

CMAKE_JOB_POOL_LINK

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_JOB_POOL_COMPILE

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_JOB_POOL_LINK

CMAKE_JOB_POOL_LINK¶

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

Previous topic

CMAKE_JOB_POOL_COMPILE

Next topic

CMAKE_JOB_POOL_PRECOMPILE_HEADER

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_JOB_POOL_LINK

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_JOB_POOL_PRECOMPILE_HEADER — 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_POOLS" href="CMAKE_JOB_POOLS.html" />
    <link rel="prev" title="CMAKE_JOB_POOL_LINK" href="CMAKE_JOB_POOL_LINK.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_JOB_POOL_PRECOMPILE_HEADER

CMAKE_JOB_POOL_PRECOMPILE_HEADER¶

New in version 3.17.

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

Previous topic

CMAKE_JOB_POOL_LINK

Next topic

CMAKE_JOB_POOLS

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_JOB_POOL_PRECOMPILE_HEADER

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_KATE_FILES_MODE

CMAKE_KATE_FILES_MODE¶

New in version 3.27.

This cache variable is used by the Kate project generator and controls
to what mode the files entry in the project file will be set.  See
cmake-generators(7).

Possible values are AUTO, SVN, GIT, HG, FOSSIL and LIST.

When set to LIST, CMake will put the list of source files known to CMake
in the project file.
When set to SVN, GIT, HG or FOSSIL, CMake will set
the generated project accordingly to Subversion, git, Mercurial
or Fossil, and Kate will then use the respective command line tool to
retrieve the list of files in the project.
When unset or set to AUTO, CMake will try to detect whether the
source directory is part of a git or svn checkout or not, and put the
respective entry into the project file.

Previous topic

CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT

Next topic

CMAKE_KATE_MAKE_ARGUMENTS

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_KATE_FILES_MODE

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


code:
<!DOCTYPE html>

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

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_KATE_MAKE_ARGUMENTS

CMAKE_KATE_MAKE_ARGUMENTS¶

New in version 3.0.

This cache variable is used by the Kate project generator.  See
cmake-generators(7).

This variable holds arguments which are used when Kate invokes the make
tool. By default it is initialized to hold flags to enable parallel builds
(using -j typically).

Previous topic

CMAKE_KATE_FILES_MODE

Next topic

CMAKE_LIBRARY_PATH

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_KATE_MAKE_ARGUMENTS

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_<LANG>_ANDROID_TOOLCHAIN_MACHINE — 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>_ANDROID_TOOLCHAIN_PREFIX" href="CMAKE_LANG_ANDROID_TOOLCHAIN_PREFIX.html" />
    <link rel="prev" title="CMAKE_ISPC_INSTRUCTION_SETS" href="CMAKE_ISPC_INSTRUCTION_SETS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_ANDROID_TOOLCHAIN_MACHINE

<span id="variable:CMAKE_<LANG>_ANDROID_TOOLCHAIN_MACHINE">
CMAKE_<LANG>_ANDROID_TOOLCHAIN_MACHINE¶

New in version 3.7.1.

When Cross Compiling for Android this variable contains the
toolchain binutils machine name (e.g. gcc -dumpmachine).  The
binutils typically have a <machine>- prefix on their name.

See also CMAKE_<LANG>_ANDROID_TOOLCHAIN_PREFIX
and CMAKE_<LANG>_ANDROID_TOOLCHAIN_SUFFIX.

Previous topic

CMAKE_ISPC_INSTRUCTION_SETS

Next topic

CMAKE_<LANG>_ANDROID_TOOLCHAIN_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_<LANG>_ANDROID_TOOLCHAIN_MACHINE

        © 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_<LANG>_ANDROID_TOOLCHAIN_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_<LANG>_ANDROID_TOOLCHAIN_SUFFIX" href="CMAKE_LANG_ANDROID_TOOLCHAIN_SUFFIX.html" />
    <link rel="prev" title="CMAKE_<LANG>_ANDROID_TOOLCHAIN_MACHINE" href="CMAKE_LANG_ANDROID_TOOLCHAIN_MACHINE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_ANDROID_TOOLCHAIN_PREFIX

<span id="variable:CMAKE_<LANG>_ANDROID_TOOLCHAIN_PREFIX">
CMAKE_<LANG>_ANDROID_TOOLCHAIN_PREFIX¶

New in version 3.7.

When Cross Compiling for Android this variable contains the absolute
path prefixing the toolchain GNU compiler and its binutils.

See also CMAKE_<LANG>_ANDROID_TOOLCHAIN_SUFFIX
and CMAKE_<LANG>_ANDROID_TOOLCHAIN_MACHINE.

For example, the path to the linker is:

${CMAKE_CXX_ANDROID_TOOLCHAIN_PREFIX}ld${CMAKE_CXX_ANDROID_TOOLCHAIN_SUFFIX}

Previous topic

CMAKE_<LANG>_ANDROID_TOOLCHAIN_MACHINE

Next topic

CMAKE_<LANG>_ANDROID_TOOLCHAIN_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_<LANG>_ANDROID_TOOLCHAIN_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_<LANG>_ANDROID_TOOLCHAIN_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_<LANG>_ARCHIVE_APPEND" href="CMAKE_LANG_ARCHIVE_APPEND.html" />
    <link rel="prev" title="CMAKE_<LANG>_ANDROID_TOOLCHAIN_PREFIX" href="CMAKE_LANG_ANDROID_TOOLCHAIN_PREFIX.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_ANDROID_TOOLCHAIN_SUFFIX

<span id="variable:CMAKE_<LANG>_ANDROID_TOOLCHAIN_SUFFIX">
CMAKE_<LANG>_ANDROID_TOOLCHAIN_SUFFIX¶

New in version 3.7.

When Cross Compiling for Android this variable contains the
host platform suffix of the toolchain GNU compiler and its binutils.

See also CMAKE_<LANG>_ANDROID_TOOLCHAIN_PREFIX
and CMAKE_<LANG>_ANDROID_TOOLCHAIN_MACHINE.

Previous topic

CMAKE_<LANG>_ANDROID_TOOLCHAIN_PREFIX

Next topic

CMAKE_<LANG>_ARCHIVE_APPEND

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_<LANG>_ANDROID_TOOLCHAIN_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_<LANG>_ARCHIVE_APPEND — 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>_ARCHIVE_CREATE" href="CMAKE_LANG_ARCHIVE_CREATE.html" />
    <link rel="prev" title="CMAKE_<LANG>_ANDROID_TOOLCHAIN_SUFFIX" href="CMAKE_LANG_ANDROID_TOOLCHAIN_SUFFIX.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_ARCHIVE_APPEND

<span id="variable:CMAKE_<LANG>_ARCHIVE_APPEND">
CMAKE_<LANG>_ARCHIVE_APPEND¶

Rule variable to append to a static archive.

This is a rule variable that tells CMake how to append to a static
archive.  It is used in place of CMAKE_<LANG>_CREATE_STATIC_LIBRARY
on some platforms in order to support large object counts.  See also
CMAKE_<LANG>_ARCHIVE_CREATE and
CMAKE_<LANG>_ARCHIVE_FINISH.

Previous topic

CMAKE_<LANG>_ANDROID_TOOLCHAIN_SUFFIX

Next topic

CMAKE_<LANG>_ARCHIVE_CREATE

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_<LANG>_ARCHIVE_APPEND

        © 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_<LANG>_ARCHIVE_CREATE — 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>_ARCHIVE_FINISH" href="CMAKE_LANG_ARCHIVE_FINISH.html" />
    <link rel="prev" title="CMAKE_<LANG>_ARCHIVE_APPEND" href="CMAKE_LANG_ARCHIVE_APPEND.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_ARCHIVE_CREATE

<span id="variable:CMAKE_<LANG>_ARCHIVE_CREATE">
CMAKE_<LANG>_ARCHIVE_CREATE¶

Rule variable to create a new static archive.

This is a rule variable that tells CMake how to create a static
archive.  It is used in place of CMAKE_<LANG>_CREATE_STATIC_LIBRARY
on some platforms in order to support large object counts.  See also
CMAKE_<LANG>_ARCHIVE_APPEND and
CMAKE_<LANG>_ARCHIVE_FINISH.

Previous topic

CMAKE_<LANG>_ARCHIVE_APPEND

Next topic

CMAKE_<LANG>_ARCHIVE_FINISH

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_<LANG>_ARCHIVE_CREATE

        © 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_<LANG>_ARCHIVE_FINISH — 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>_BYTE_ORDER" href="CMAKE_LANG_BYTE_ORDER.html" />
    <link rel="prev" title="CMAKE_<LANG>_ARCHIVE_CREATE" href="CMAKE_LANG_ARCHIVE_CREATE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_ARCHIVE_FINISH

<span id="variable:CMAKE_<LANG>_ARCHIVE_FINISH">
CMAKE_<LANG>_ARCHIVE_FINISH¶

Rule variable to finish an existing static archive.

This is a rule variable that tells CMake how to finish a static
archive.  It is used in place of CMAKE_<LANG>_CREATE_STATIC_LIBRARY
on some platforms in order to support large object counts.  See also
CMAKE_<LANG>_ARCHIVE_CREATE and
CMAKE_<LANG>_ARCHIVE_APPEND.

Previous topic

CMAKE_<LANG>_ARCHIVE_CREATE

Next topic

CMAKE_<LANG>_BYTE_ORDER

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_<LANG>_ARCHIVE_FINISH

        © 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_<LANG>_BYTE_ORDER — 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>_COMPILE_OBJECT" href="CMAKE_LANG_COMPILE_OBJECT.html" />
    <link rel="prev" title="CMAKE_<LANG>_ARCHIVE_FINISH" href="CMAKE_LANG_ARCHIVE_FINISH.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_BYTE_ORDER

<span id="variable:CMAKE_<LANG>_BYTE_ORDER">
CMAKE_<LANG>_BYTE_ORDER¶

New in version 3.20.

Byte order of <LANG> compiler target architecture, if known.
If defined and not empty, the value is one of:

BIG_ENDIAN

The target architecture is Big Endian.

LITTLE_ENDIAN

The target architecture is Little Endian.

This is defined for languages C, CXX, OBJC, OBJCXX,
and CUDA.

If CMAKE_OSX_ARCHITECTURES specifies multiple architectures, the
value of CMAKE_<LANG>_BYTE_ORDER is non-empty only if all architectures
share the same byte order.

Previous topic

CMAKE_<LANG>_ARCHIVE_FINISH

Next topic

CMAKE_<LANG>_COMPILE_OBJECT

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_<LANG>_BYTE_ORDER

        © 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_<LANG>_CLANG_TIDY — 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_EXPORT_FIXES_DIR" href="CMAKE_LANG_CLANG_TIDY_EXPORT_FIXES_DIR.html" />
    <link rel="prev" title="CMAKE_INTERPROCEDURAL_OPTIMIZATION_<CONFIG>" href="CMAKE_INTERPROCEDURAL_OPTIMIZATION_CONFIG.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_CLANG_TIDY

<span id="variable:CMAKE_<LANG>_CLANG_TIDY">
CMAKE_<LANG>_CLANG_TIDY¶

New in version 3.6.

Default value for <LANG>_CLANG_TIDY target property
when <LANG> is C, CXX, OBJC or OBJCXX.

This variable is used to initialize the property on each target as it is
created.  For example:

set(CMAKE_CXX_CLANG_TIDY clang-tidy -checks=-*,readability-*)
add_executable(foo foo.cxx)

Previous topic

CMAKE_INTERPROCEDURAL_OPTIMIZATION_<CONFIG>

Next topic

CMAKE_<LANG>_CLANG_TIDY_EXPORT_FIXES_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_<LANG>_CLANG_TIDY

        © 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_<LANG>_CLANG_TIDY_EXPORT_FIXES_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_<LANG>_COMPILER_LAUNCHER" href="CMAKE_LANG_COMPILER_LAUNCHER.html" />
    <link rel="prev" title="CMAKE_<LANG>_CLANG_TIDY" href="CMAKE_LANG_CLANG_TIDY.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_CLANG_TIDY_EXPORT_FIXES_DIR

<span id="variable:CMAKE_<LANG>_CLANG_TIDY_EXPORT_FIXES_DIR">
CMAKE_<LANG>_CLANG_TIDY_EXPORT_FIXES_DIR¶

New in version 3.26.

Default value for <LANG>_CLANG_TIDY_EXPORT_FIXES_DIR target
property when <LANG> is C, CXX, OBJC or OBJCXX.

This variable is used to initialize the property on each target as it is
created.  For example:

set(CMAKE_CXX_CLANG_TIDY_EXPORT_FIXES_DIR clang-tidy-fixes)
add_executable(foo foo.cxx)

Previous topic

CMAKE_<LANG>_CLANG_TIDY

Next topic

CMAKE_<LANG>_COMPILER_LAUNCHER

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_CLANG_TIDY_EXPORT_FIXES_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_<LANG>_COMPILER — 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_EXTERNAL_TOOLCHAIN" href="CMAKE_LANG_COMPILER_EXTERNAL_TOOLCHAIN.html" />
    <link rel="prev" title="CMAKE_<LANG>_COMPILE_OBJECT" href="CMAKE_LANG_COMPILE_OBJECT.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_COMPILER

<span id="variable:CMAKE_<LANG>_COMPILER">
CMAKE_<LANG>_COMPILER¶

The full path to the compiler for LANG.

This is the command that will be used as the <LANG> compiler.  Once
set, you can not change this variable.

Usage¶

This variable can be set by the user during the first time a build tree is configured.

If a non-full path value is supplied then CMake will resolve the full path of
the compiler.

The variable could be set in a user supplied toolchain file or via
-D on the command line.

Note

Options that are required to make the compiler work correctly can be included
as items in a list; they can not be changed.

#set within user supplied toolchain file
set(CMAKE_C_COMPILER /full/path/to/qcc --arg1 --arg2)

or

$ cmake ... -DCMAKE_C_COMPILER='qcc;--arg1;--arg2'

Table of Contents

CMAKE_<LANG>_COMPILER

Usage

Previous topic

CMAKE_<LANG>_COMPILE_OBJECT

Next topic

CMAKE_<LANG>_COMPILER_EXTERNAL_TOOLCHAIN

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_<LANG>_COMPILER

        © 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_<LANG>_COMPILER_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_ARCHITECTURE_ID" href="CMAKE_LANG_COMPILER_ARCHITECTURE_ID.html" />
    <link rel="prev" title="CMAKE_INTERNAL_PLATFORM_ABI" href="CMAKE_INTERNAL_PLATFORM_ABI.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_COMPILER_ABI

<span id="variable:CMAKE_<LANG>_COMPILER_ABI">
CMAKE_<LANG>_COMPILER_ABI¶

An internal variable subject to change.

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

Previous topic

CMAKE_INTERNAL_PLATFORM_ABI

Next topic

CMAKE_<LANG>_COMPILER_ARCHITECTURE_ID

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_COMPILER_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_<LANG>_COMPILER_AR — 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_FRONTEND_VARIANT" href="CMAKE_LANG_COMPILER_FRONTEND_VARIANT.html" />
    <link rel="prev" title="CMAKE_JOB_POOLS" href="CMAKE_JOB_POOLS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_COMPILER_AR

<span id="variable:CMAKE_<LANG>_COMPILER_AR">
CMAKE_<LANG>_COMPILER_AR¶

New in version 3.9.

A wrapper around ar adding the appropriate --plugin option for the
compiler.

See also CMAKE_AR.

Previous topic

CMAKE_JOB_POOLS

Next topic

CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT

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_<LANG>_COMPILER_AR

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

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

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_<LANG>_COMPILER_VERSION_INTERNAL" href="CMAKE_LANG_COMPILER_VERSION_INTERNAL.html" />
    <link rel="prev" title="CMAKE_<LANG>_COMPILER_ABI" href="CMAKE_LANG_COMPILER_ABI.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_COMPILER_ARCHITECTURE_ID

<span id="variable:CMAKE_<LANG>_COMPILER_ARCHITECTURE_ID">
CMAKE_<LANG>_COMPILER_ARCHITECTURE_ID¶

New in version 3.10.

An internal variable subject to change.

This is used to identify the variant of a compiler based on its target
architecture.  For some compilers this is needed to determine the correct
usage.

Previous topic

CMAKE_<LANG>_COMPILER_ABI

Next topic

CMAKE_<LANG>_COMPILER_VERSION_INTERNAL

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_<LANG>_COMPILER_ARCHITECTURE_ID

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_<LANG>_COMPILER_EXTERNAL_TOOLCHAIN — 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_ID" href="CMAKE_LANG_COMPILER_ID.html" />
    <link rel="prev" title="CMAKE_<LANG>_COMPILER" href="CMAKE_LANG_COMPILER.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_COMPILER_EXTERNAL_TOOLCHAIN

<span id="variable:CMAKE_<LANG>_COMPILER_EXTERNAL_TOOLCHAIN">
CMAKE_<LANG>_COMPILER_EXTERNAL_TOOLCHAIN¶

The external toolchain for cross-compiling, if supported.

Some compiler toolchains do not ship their own auxiliary utilities such as
archivers and linkers.  The compiler driver may support a command-line argument
to specify the location of such tools.
CMAKE_<LANG>_COMPILER_EXTERNAL_TOOLCHAIN may be set to a path to
the external toolchain and will be passed to the compiler driver if supported.

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

Previous topic

CMAKE_<LANG>_COMPILER

Next topic

CMAKE_<LANG>_COMPILER_ID

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_COMPILER_EXTERNAL_TOOLCHAIN

        © 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_<LANG>_COMPILER_FRONTEND_VARIANT — 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_LINKER" href="CMAKE_LANG_COMPILER_LINKER.html" />
    <link rel="prev" title="CMAKE_<LANG>_COMPILER_AR" href="CMAKE_LANG_COMPILER_AR.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT

<span id="variable:CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT">
CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT¶

New in version 3.14.

Identification string of the compiler frontend variant.

Some compilers have multiple, different frontends for accepting command
line options.  (For example Clang originally only had a frontend
compatible with the GNU compiler but since its port to Windows
(Clang-Cl) it now also supports a frontend compatible with MSVC.)
When CMake detects such a compiler it sets this
variable to what would have been the CMAKE_<LANG>_COMPILER_ID for
the compiler whose frontend it resembles.

Note

In other words, this variable describes what command line options
and language extensions the compiler frontend expects.

Changed in version 3.26: This variable is set for GNU, MSVC, and AppleClang
compilers that have only one frontend variant.

Previous topic

CMAKE_<LANG>_COMPILER_AR

Next topic

CMAKE_<LANG>_COMPILER_LINKER

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_<LANG>_COMPILER_FRONTEND_VARIANT

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

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

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_<LANG>_COMPILER_LOADED" href="CMAKE_LANG_COMPILER_LOADED.html" />
    <link rel="prev" title="CMAKE_<LANG>_COMPILER_EXTERNAL_TOOLCHAIN" href="CMAKE_LANG_COMPILER_EXTERNAL_TOOLCHAIN.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_COMPILER_ID

<span id="variable:CMAKE_<LANG>_COMPILER_ID">
CMAKE_<LANG>_COMPILER_ID¶

Compiler identification string.

A short string unique to the compiler vendor.  Possible values
include:

Value

Name

Absoft

Absoft Fortran

ADSP

Analog VisualDSP++

AppleClang

Apple Clang

ARMCC

ARM Compiler

ARMClang

ARM Compiler based on Clang

Bruce

Bruce C Compiler

CCur

Concurrent Fortran

Clang

LLVM Clang

Cray

Cray Compiler

CrayClang

Cray Clang-based Compiler

Embarcadero, Borland

Embarcadero

Flang

Classic Flang Fortran Compiler

LLVMFlang

LLVM Flang Fortran Compiler

Fujitsu

Fujitsu HPC compiler (Trad mode)

FujitsuClang

Fujitsu HPC compiler (Clang mode)

G95

G95 Fortran

GNU

GNU Compiler Collection

GHS

Green Hills Software

HP

Hewlett-Packard Compiler

IAR

IAR Systems

Intel

Intel Classic Compiler

IntelLLVM

Intel LLVM-Based Compiler

LCC

MCST Elbrus C/C++/Fortran Compiler

MSVC

Microsoft Visual Studio

NVHPC

NVIDIA HPC Compiler

NVIDIA

NVIDIA CUDA Compiler

OrangeC

OrangeC Compiler

OpenWatcom

Open Watcom

PGI

The Portland Group

PathScale

PathScale

SDCC

Small Device C Compiler

SunPro

Oracle Solaris Studio

Tasking

Tasking Compiler Toolsets

TI

Texas Instruments

TIClang

Texas Instruments Clang-based Compilers

TinyCC

Tiny C Compiler

XL, VisualAge, zOS

IBM XL

XLClang

IBM Clang-based XL

IBMClang

IBM LLVM-based Compiler

This variable is not guaranteed to be defined for all compilers or
languages.

Previous topic

CMAKE_<LANG>_COMPILER_EXTERNAL_TOOLCHAIN

Next topic

CMAKE_<LANG>_COMPILER_LOADED

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_<LANG>_COMPILER_ID

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_<LANG>_COMPILER_LAUNCHER — CMake 3.29.0-rc3 Documentation</title>

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

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_<LANG>_CPPCHECK" href="CMAKE_LANG_CPPCHECK.html" />
    <link rel="prev" title="CMAKE_<LANG>_CLANG_TIDY_EXPORT_FIXES_DIR" href="CMAKE_LANG_CLANG_TIDY_EXPORT_FIXES_DIR.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_COMPILER_LAUNCHER

<span id="variable:CMAKE_<LANG>_COMPILER_LAUNCHER">
CMAKE_<LANG>_COMPILER_LAUNCHER¶

New in version 3.4.

Default value for <LANG>_COMPILER_LAUNCHER target property.
This variable is used to initialize the property on each target as it is
created.  This is done only when <LANG> is C, CXX, Fortran,
HIP, ISPC, OBJC, OBJCXX, or CUDA.

This variable is initialized to the CMAKE_<LANG>_COMPILER_LAUNCHER
environment variable if it is set.

Previous topic

CMAKE_<LANG>_CLANG_TIDY_EXPORT_FIXES_DIR

Next topic

CMAKE_<LANG>_CPPCHECK

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_<LANG>_COMPILER_LAUNCHER

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_<LANG>_COMPILER_LINKER — 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_LINKER_FRONTEND_VARIANT" href="CMAKE_LANG_COMPILER_LINKER_FRONTEND_VARIANT.html" />
    <link rel="prev" title="CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT" href="CMAKE_LANG_COMPILER_FRONTEND_VARIANT.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_COMPILER_LINKER

<span id="variable:CMAKE_<LANG>_COMPILER_LINKER">
CMAKE_<LANG>_COMPILER_LINKER¶

New in version 3.29.

The full path to the linker for LANG.

This is the command that will be used as the <LANG> linker.

This variable is not guaranteed to be defined for all linkers or languages.

Note

This variable is read-only. It must not be set by the user. To select a
specific linker, use the CMAKE_LINKER_TYPE variable or the
LINKER_TYPE target property.

Previous topic

CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT

Next topic

CMAKE_<LANG>_COMPILER_LINKER_FRONTEND_VARIANT

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_<LANG>_COMPILER_LINKER

        © 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_<LANG>_COMPILER_LINKER_FRONTEND_VARIANT — 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_LINKER_ID" href="CMAKE_LANG_COMPILER_LINKER_ID.html" />
    <link rel="prev" title="CMAKE_<LANG>_COMPILER_LINKER" href="CMAKE_LANG_COMPILER_LINKER.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_COMPILER_LINKER_FRONTEND_VARIANT

<span id="variable:CMAKE_<LANG>_COMPILER_LINKER_FRONTEND_VARIANT">
CMAKE_<LANG>_COMPILER_LINKER_FRONTEND_VARIANT¶

New in version 3.29.

Identification string of the linker frontend variant.

Some linkers have multiple, different frontends for accepting command
line options.  (For example LLCM LLD originally only had a frontend
compatible with the GNU compiler but since its port to Windows
(lld-link) it now also supports a frontend compatible with MSVC.)
When CMake detects such a linker it sets this variable to what would have been
the CMAKE_<LANG>_COMPILER_LINKER_ID for the linker whose frontend
it resembles.

Note

In other words, this variable describes what command line options
and language extensions the linker frontend expects.

This variable is set for GNU, MSVC, MOLD and AppleClang
linkers that have only one frontend variant.

Previous topic

CMAKE_<LANG>_COMPILER_LINKER

Next topic

CMAKE_<LANG>_COMPILER_LINKER_ID

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_COMPILER_LINKER_FRONTEND_VARIANT

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

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

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_<LANG>_COMPILER_LINKER_VERSION" href="CMAKE_LANG_COMPILER_LINKER_VERSION.html" />
    <link rel="prev" title="CMAKE_<LANG>_COMPILER_LINKER_FRONTEND_VARIANT" href="CMAKE_LANG_COMPILER_LINKER_FRONTEND_VARIANT.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_COMPILER_LINKER_ID

<span id="variable:CMAKE_<LANG>_COMPILER_LINKER_ID">
CMAKE_<LANG>_COMPILER_LINKER_ID¶

New in version 3.29.

Linker identification string.

A short string unique to the linker vendor.  Possible values
include:

Value

Name

AppleClang

Apple Clang

LLD

LLVM LLD

GNU

GNU Binutils - ld linker (also known as
bfd)

GNUgold

GNU Binutils - gold linker

MSVC

Microsoft Visual Studio

MOLD

mold: A Modern Linker or, on Apple, sold
linker

AIX

AIX system linker

Solaris

SunOS system linker

This variable is not guaranteed to be defined for all linkers or languages.

Previous topic

CMAKE_<LANG>_COMPILER_LINKER_FRONTEND_VARIANT

Next topic

CMAKE_<LANG>_COMPILER_LINKER_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_<LANG>_COMPILER_LINKER_ID

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_<LANG>_COMPILER_LINKER_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_<LANG>_COMPILER_RANLIB" href="CMAKE_LANG_COMPILER_RANLIB.html" />
    <link rel="prev" title="CMAKE_<LANG>_COMPILER_LINKER_ID" href="CMAKE_LANG_COMPILER_LINKER_ID.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_COMPILER_LINKER_VERSION

<span id="variable:CMAKE_<LANG>_COMPILER_LINKER_VERSION">
CMAKE_<LANG>_COMPILER_LINKER_VERSION¶

New in version 3.29.

Linker version string.

Linker version in major[.minor[.patch[.tweak]]] format.  This
variable is not guaranteed to be defined for all linkers or
languages.

Previous topic

CMAKE_<LANG>_COMPILER_LINKER_ID

Next topic

CMAKE_<LANG>_COMPILER_RANLIB

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_<LANG>_COMPILER_LINKER_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_<LANG>_COMPILER_LOADED — 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_PREDEFINES_COMMAND" href="CMAKE_LANG_COMPILER_PREDEFINES_COMMAND.html" />
    <link rel="prev" title="CMAKE_<LANG>_COMPILER_ID" href="CMAKE_LANG_COMPILER_ID.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_COMPILER_LOADED

<span id="variable:CMAKE_<LANG>_COMPILER_LOADED">
CMAKE_<LANG>_COMPILER_LOADED¶

Defined to true if the language is enabled.

When language <LANG> is enabled by project() or
enable_language() this variable is defined to 1.

Previous topic

CMAKE_<LANG>_COMPILER_ID

Next topic

CMAKE_<LANG>_COMPILER_PREDEFINES_COMMAND

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_COMPILER_LOADED

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

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

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_<LANG>_COMPILER_TARGET" href="CMAKE_LANG_COMPILER_TARGET.html" />
    <link rel="prev" title="CMAKE_<LANG>_COMPILER_LOADED" href="CMAKE_LANG_COMPILER_LOADED.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_COMPILER_PREDEFINES_COMMAND

<span id="variable:CMAKE_<LANG>_COMPILER_PREDEFINES_COMMAND">
CMAKE_<LANG>_COMPILER_PREDEFINES_COMMAND¶

New in version 3.10.

Command that outputs the compiler pre definitions.

See AUTOMOC which uses
CMAKE_CXX_COMPILER_PREDEFINES_COMMAND
to generate the AUTOMOC_COMPILER_PREDEFINES.

Previous topic

CMAKE_<LANG>_COMPILER_LOADED

Next topic

CMAKE_<LANG>_COMPILER_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_<LANG>_COMPILER_PREDEFINES_COMMAND

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_<LANG>_COMPILER_RANLIB — 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>_LINK_LIBRARY_SUFFIX" href="CMAKE_LANG_LINK_LIBRARY_SUFFIX.html" />
    <link rel="prev" title="CMAKE_<LANG>_COMPILER_LINKER_VERSION" href="CMAKE_LANG_COMPILER_LINKER_VERSION.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_COMPILER_RANLIB

<span id="variable:CMAKE_<LANG>_COMPILER_RANLIB">
CMAKE_<LANG>_COMPILER_RANLIB¶

New in version 3.9.

A wrapper around ranlib adding the appropriate --plugin option for the
compiler.

See also CMAKE_RANLIB.

Previous topic

CMAKE_<LANG>_COMPILER_LINKER_VERSION

Next topic

CMAKE_<LANG>_LINK_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_<LANG>_COMPILER_RANLIB

        © 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_<LANG>_COMPILER_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_<LANG>_COMPILER_VERSION" href="CMAKE_LANG_COMPILER_VERSION.html" />
    <link rel="prev" title="CMAKE_<LANG>_COMPILER_PREDEFINES_COMMAND" href="CMAKE_LANG_COMPILER_PREDEFINES_COMMAND.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_COMPILER_TARGET

<span id="variable:CMAKE_<LANG>_COMPILER_TARGET">
CMAKE_<LANG>_COMPILER_TARGET¶

The target for cross-compiling, if supported.

Some compiler drivers are inherently cross-compilers, such as clang and
QNX qcc. These compiler drivers support a command-line argument to specify
the target to cross-compile for.

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

Previous topic

CMAKE_<LANG>_COMPILER_PREDEFINES_COMMAND

Next topic

CMAKE_<LANG>_COMPILER_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_<LANG>_COMPILER_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_<LANG>_COMPILER_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_<LANG>_CREATE_SHARED_LIBRARY" href="CMAKE_LANG_CREATE_SHARED_LIBRARY.html" />
    <link rel="prev" title="CMAKE_<LANG>_COMPILER_TARGET" href="CMAKE_LANG_COMPILER_TARGET.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_COMPILER_VERSION

<span id="variable:CMAKE_<LANG>_COMPILER_VERSION">
CMAKE_<LANG>_COMPILER_VERSION¶

Compiler version string.

Compiler version in major[.minor[.patch[.tweak]]] format.  This
variable is not guaranteed to be defined for all compilers or
languages.

For example CMAKE_C_COMPILER_VERSION and
CMAKE_CXX_COMPILER_VERSION might indicate the respective C and C++
compiler version.

Previous topic

CMAKE_<LANG>_COMPILER_TARGET

Next topic

CMAKE_<LANG>_CREATE_SHARED_LIBRARY

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_COMPILER_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_<LANG>_COMPILER_VERSION_INTERNAL — 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>_LINKER_PREFERENCE" href="CMAKE_LANG_LINKER_PREFERENCE.html" />
    <link rel="prev" title="CMAKE_<LANG>_COMPILER_ARCHITECTURE_ID" href="CMAKE_LANG_COMPILER_ARCHITECTURE_ID.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_COMPILER_VERSION_INTERNAL

<span id="variable:CMAKE_<LANG>_COMPILER_VERSION_INTERNAL">
CMAKE_<LANG>_COMPILER_VERSION_INTERNAL¶

New in version 3.10.

An internal variable subject to change.

This is used to identify the variant of a compiler based on an internal
version number.  For some compilers this is needed to determine the
correct usage.

Previous topic

CMAKE_<LANG>_COMPILER_ARCHITECTURE_ID

Next topic

CMAKE_<LANG>_LINKER_PREFERENCE

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_<LANG>_COMPILER_VERSION_INTERNAL

        © 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_<LANG>_COMPILE_OBJECT — 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" href="CMAKE_LANG_COMPILER.html" />
    <link rel="prev" title="CMAKE_<LANG>_BYTE_ORDER" href="CMAKE_LANG_BYTE_ORDER.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_COMPILE_OBJECT

<span id="variable:CMAKE_<LANG>_COMPILE_OBJECT">
CMAKE_<LANG>_COMPILE_OBJECT¶

Rule variable to compile a single object file.

This is a rule variable that tells CMake how to compile a single
object file for the language <LANG>.

Previous topic

CMAKE_<LANG>_BYTE_ORDER

Next topic

CMAKE_<LANG>_COMPILER

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_<LANG>_COMPILE_OBJECT

        © 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_<LANG>_CPPCHECK — 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>_CPPLINT" href="CMAKE_LANG_CPPLINT.html" />
    <link rel="prev" title="CMAKE_<LANG>_COMPILER_LAUNCHER" href="CMAKE_LANG_COMPILER_LAUNCHER.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_CPPCHECK

<span id="variable:CMAKE_<LANG>_CPPCHECK">
CMAKE_<LANG>_CPPCHECK¶

New in version 3.10.

Default value for <LANG>_CPPCHECK target property. This variable
is used to initialize the property on each target as it is created.  This
is done only when <LANG> is C or CXX.

Previous topic

CMAKE_<LANG>_COMPILER_LAUNCHER

Next topic

CMAKE_<LANG>_CPPLINT

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_<LANG>_CPPCHECK

        © 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_<LANG>_CPPLINT — 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>_INCLUDE_WHAT_YOU_USE" href="CMAKE_LANG_INCLUDE_WHAT_YOU_USE.html" />
    <link rel="prev" title="CMAKE_<LANG>_CPPCHECK" href="CMAKE_LANG_CPPCHECK.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_CPPLINT

<span id="variable:CMAKE_<LANG>_CPPLINT">
CMAKE_<LANG>_CPPLINT¶

New in version 3.8.

Default value for <LANG>_CPPLINT target property. This variable
is used to initialize the property on each target as it is created.  This
is done only when <LANG> is C or CXX.

Previous topic

CMAKE_<LANG>_CPPCHECK

Next topic

CMAKE_<LANG>_INCLUDE_WHAT_YOU_USE

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_<LANG>_CPPLINT

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

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

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_<LANG>_CREATE_SHARED_MODULE" href="CMAKE_LANG_CREATE_SHARED_MODULE.html" />
    <link rel="prev" title="CMAKE_<LANG>_COMPILER_VERSION" href="CMAKE_LANG_COMPILER_VERSION.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_CREATE_SHARED_LIBRARY

<span id="variable:CMAKE_<LANG>_CREATE_SHARED_LIBRARY">
CMAKE_<LANG>_CREATE_SHARED_LIBRARY¶

Rule variable to create a shared library.

This is a rule variable that tells CMake how to create a shared
library for the language <LANG>.  This rule variable is a ; delimited
list of commands to run to perform the linking step.

Previous topic

CMAKE_<LANG>_COMPILER_VERSION

Next topic

CMAKE_<LANG>_CREATE_SHARED_MODULE

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_<LANG>_CREATE_SHARED_LIBRARY

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_<LANG>_CREATE_SHARED_MODULE — 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>_CREATE_STATIC_LIBRARY" href="CMAKE_LANG_CREATE_STATIC_LIBRARY.html" />
    <link rel="prev" title="CMAKE_<LANG>_CREATE_SHARED_LIBRARY" href="CMAKE_LANG_CREATE_SHARED_LIBRARY.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_CREATE_SHARED_MODULE

<span id="variable:CMAKE_<LANG>_CREATE_SHARED_MODULE">
CMAKE_<LANG>_CREATE_SHARED_MODULE¶

Rule variable to create a shared module.

This is a rule variable that tells CMake how to create a shared
library for the language <LANG>.  This rule variable is a ; delimited
list of commands to run.

Previous topic

CMAKE_<LANG>_CREATE_SHARED_LIBRARY

Next topic

CMAKE_<LANG>_CREATE_STATIC_LIBRARY

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_CREATE_SHARED_MODULE

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

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

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_<LANG>_EXTENSIONS" href="CMAKE_LANG_EXTENSIONS.html" />
    <link rel="prev" title="CMAKE_<LANG>_CREATE_SHARED_MODULE" href="CMAKE_LANG_CREATE_SHARED_MODULE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_CREATE_STATIC_LIBRARY

<span id="variable:CMAKE_<LANG>_CREATE_STATIC_LIBRARY">
CMAKE_<LANG>_CREATE_STATIC_LIBRARY¶

Rule variable to create a static library.

This is a rule variable that tells CMake how to create a static
library for the language <LANG>.

Previous topic

CMAKE_<LANG>_CREATE_SHARED_MODULE

Next topic

CMAKE_<LANG>_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_<LANG>_CREATE_STATIC_LIBRARY

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_<LANG>_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_<LANG>_EXTENSIONS_DEFAULT" href="CMAKE_LANG_EXTENSIONS_DEFAULT.html" />
    <link rel="prev" title="CMAKE_<LANG>_CREATE_STATIC_LIBRARY" href="CMAKE_LANG_CREATE_STATIC_LIBRARY.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_EXTENSIONS

<span id="variable:CMAKE_<LANG>_EXTENSIONS">
CMAKE_<LANG>_EXTENSIONS¶

The variations are:

CMAKE_C_EXTENSIONS

CMAKE_CXX_EXTENSIONS

CMAKE_CUDA_EXTENSIONS

CMAKE_HIP_EXTENSIONS

CMAKE_OBJC_EXTENSIONS

CMAKE_OBJCXX_EXTENSIONS

Default values for <LANG>_EXTENSIONS target properties if set when
a target is created.  For the compiler's default setting see
CMAKE_<LANG>_EXTENSIONS_DEFAULT.

For supported CMake versions see the respective pages.

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

Previous topic

CMAKE_<LANG>_CREATE_STATIC_LIBRARY

Next topic

CMAKE_<LANG>_EXTENSIONS_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_<LANG>_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_<LANG>_EXTENSIONS_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_<LANG>_FLAGS" href="CMAKE_LANG_FLAGS.html" />
    <link rel="prev" title="CMAKE_<LANG>_EXTENSIONS" href="CMAKE_LANG_EXTENSIONS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_EXTENSIONS_DEFAULT

<span id="variable:CMAKE_<LANG>_EXTENSIONS_DEFAULT">
CMAKE_<LANG>_EXTENSIONS_DEFAULT¶

New in version 3.22.

Compiler's default extensions mode. Used as the default for the
<LANG>_EXTENSIONS target property when
CMAKE_<LANG>_EXTENSIONS is not set (see CMP0128).

This variable is read-only.  Modifying it is undefined behavior.

Previous topic

CMAKE_<LANG>_EXTENSIONS

Next topic

CMAKE_<LANG>_FLAGS

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_<LANG>_EXTENSIONS_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_<LANG>_FLAGS — 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>_FLAGS_<CONFIG>" href="CMAKE_LANG_FLAGS_CONFIG.html" />
    <link rel="prev" title="CMAKE_<LANG>_EXTENSIONS_DEFAULT" href="CMAKE_LANG_EXTENSIONS_DEFAULT.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_FLAGS

<span id="variable:CMAKE_<LANG>_FLAGS">
CMAKE_<LANG>_FLAGS¶

Language-wide flags for language <LANG> used when building for
all configurations.  These flags will be passed to all invocations
of the compiler.  This includes invocations that drive compiling
and those that drive linking.

For each language, if this variable is not defined, it is initialized
and stored in the cache using values from environment variables in
combination with CMake's builtin defaults for the toolchain:

CMAKE_C_FLAGS:
Initialized by the CFLAGS environment variable.

CMAKE_CXX_FLAGS:
Initialized by the CXXFLAGS environment variable.

CMAKE_CUDA_FLAGS:
Initialized by the CUDAFLAGS environment variable.

CMAKE_Fortran_FLAGS:
Initialized by the FFLAGS environment variable.

CMAKE_CSharp_FLAGS:
Initialized by the CSFLAGS environment variable.

CMAKE_HIP_FLAGS:
Initialized by the HIPFLAGS environment variable.

CMAKE_ISPC_FLAGS:
Initialized by the ISPCFLAGS environment variable.

This value is a command-line string fragment. Therefore, multiple options
should be separated by spaces, and options with spaces should be quoted.

The flags in this variable will be passed before those in the
per-configuration CMAKE_<LANG>_FLAGS_<CONFIG> variable.
On invocations driving compiling, flags from both variables will be passed
before flags added by commands such as add_compile_options() and
target_compile_options(). On invocations driving linking,
they will be passed before flags added by commands such as
add_link_options() and target_link_options().

Previous topic

CMAKE_<LANG>_EXTENSIONS_DEFAULT

Next topic

CMAKE_<LANG>_FLAGS_<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_<LANG>_FLAGS

        © 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_<LANG>_FLAGS_<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>_FLAGS_<CONFIG>_INIT" href="CMAKE_LANG_FLAGS_CONFIG_INIT.html" />
    <link rel="prev" title="CMAKE_<LANG>_FLAGS" href="CMAKE_LANG_FLAGS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_FLAGS_<CONFIG>

<span id="variable:CMAKE_<LANG>_FLAGS_<CONFIG>">
CMAKE_<LANG>_FLAGS_<CONFIG>¶

Language-wide flags for language <LANG> used when building for
the <CONFIG> configuration.  These flags will be passed to all
invocations of the compiler in the corresponding configuration.
This includes invocations that drive compiling and those that drive
linking.

The flags in this variable will be passed after those in the
CMAKE_<LANG>_FLAGS variable.  On invocations driving compiling,
flags from both variables will be passed before flags added by commands
such as add_compile_options() and target_compile_options().
On invocations driving linking, they will be passed before flags added by
commands such as add_link_options() and
target_link_options().

Previous topic

CMAKE_<LANG>_FLAGS

Next topic

CMAKE_<LANG>_FLAGS_<CONFIG>_INIT

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_<LANG>_FLAGS_<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_<LANG>_FLAGS_<CONFIG>_INIT — 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>_FLAGS_DEBUG" href="CMAKE_LANG_FLAGS_DEBUG.html" />
    <link rel="prev" title="CMAKE_<LANG>_FLAGS_<CONFIG>" href="CMAKE_LANG_FLAGS_CONFIG.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_<LANG>_FLAGS_<CONFIG>_INIT

<span id="variable:CMAKE_<LANG>_FLAGS_<CONFIG>_INIT">
CMAKE_<LANG>_FLAGS_<CONFIG>_INIT¶

New in version 3.11.

Value used to initialize the CMAKE_<LANG>_FLAGS_<CONFIG> cache
entry the first time a build tree is configured for language <LANG>.
This variable is meant to be set by a toolchain file.  CMake may prepend or append content to
the value based on the environment and target platform.

See also CMAKE_<LANG>_FLAGS_INIT.

Previous topic

CMAKE_<LANG>_FLAGS_<CONFIG>

Next topic

CMAKE_<LANG>_FLAGS_DEBUG

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_<LANG>_FLAGS_<CONFIG>_INIT

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