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>_IMPLICIT_LINK_DIRECTORIES_EXCLUDE" href="CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES_EXCLUDE.html" />
    <link rel="prev" title="CMAKE_INSTALL_PREFIX" href="CMAKE_INSTALL_PREFIX.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

CMAKE_<LANG>_COMPILER_LAUNCHER

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

New in version 3.17.

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Default compiler launcher to use for the specified language. Will only be used
by CMake to initialize the variable on the first configuration. Afterwards, it
is available through the cache setting of the variable of the same name. For
any configuration run (including the first), the environment variable will be
ignored if the CMAKE_<LANG>_COMPILER_LAUNCHER variable is defined.

Previous topic

CMAKE_INSTALL_PREFIX

Next topic

CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES_EXCLUDE

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-env-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>_IMPLICIT_LINK_DIRECTORIES_EXCLUDE — 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_LAUNCHER" href="CMAKE_LANG_LINKER_LAUNCHER.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-env-variables(7) »

CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES_EXCLUDE

<span id="envvar:CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES_EXCLUDE">
CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES_EXCLUDE¶

New in version 3.27.

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

A semicolon-separated list of directories
to exclude from the CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES
variable when it is automatically detected from the <LANG> compiler.

This may be used to work around misconfigured compiler drivers that pass
extraneous implicit link directories to their linker.

Previous topic

CMAKE_<LANG>_COMPILER_LAUNCHER

Next topic

CMAKE_<LANG>_LINKER_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-env-variables(7) »

CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES_EXCLUDE

        © 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_<LANG>_LINKER_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_MSVCIDE_RUN_PATH" href="CMAKE_MSVCIDE_RUN_PATH.html" />
    <link rel="prev" title="CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES_EXCLUDE" href="CMAKE_LANG_IMPLICIT_LINK_DIRECTORIES_EXCLUDE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

CMAKE_<LANG>_LINKER_LAUNCHER

<span id="envvar:CMAKE_<LANG>_LINKER_LAUNCHER">
CMAKE_<LANG>_LINKER_LAUNCHER¶

New in version 3.21.

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Default launcher to use when linking a target of the specified language. Will
only be used by CMake to initialize the variable on the first configuration.
Afterwards, it is available through the cache setting of the variable of the
same name. For any configuration run (including the first), the environment
variable will be ignored if the CMAKE_<LANG>_LINKER_LAUNCHER
variable is defined.

Previous topic

CMAKE_<LANG>_IMPLICIT_LINK_DIRECTORIES_EXCLUDE

Next topic

CMAKE_MSVCIDE_RUN_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-env-variables(7) »

CMAKE_<LANG>_LINKER_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_LIBRARY_PATH — CMake 3.29.0-rc3 Documentation</title>

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

CMAKE_LIBRARY_PATH

CMAKE_LIBRARY_PATH¶

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

The CMAKE_LIBRARY_PATH environment variable may be set to a list of
directories to be searched by the find_library() command.

This variable may hold a single directory or a list of directories separated
by : on UNIX or ; on Windows (the same as the PATH environment
variable convention on those platforms).

See also the CMAKE_LIBRARY_PATH CMake variable.

Previous topic

CMAKE_INCLUDE_PATH

Next topic

CMAKE_MAXIMUM_RECURSION_DEPTH

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-env-variables(7) »

CMAKE_LIBRARY_PATH

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_MAXIMUM_RECURSION_DEPTH — 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_PREFIX_PATH" href="CMAKE_PREFIX_PATH.html" />
    <link rel="prev" title="CMAKE_LIBRARY_PATH" href="CMAKE_LIBRARY_PATH.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

CMAKE_MAXIMUM_RECURSION_DEPTH

CMAKE_MAXIMUM_RECURSION_DEPTH¶

New in version 3.27.

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Maximum recursion depth for CMake scripts.  This environment variable is
used if the CMAKE_MAXIMUM_RECURSION_DEPTH variable is not set.
See that variable's documentation for details.

Previous topic

CMAKE_LIBRARY_PATH

Next topic

CMAKE_PREFIX_PATH

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

CMAKE_MAXIMUM_RECURSION_DEPTH

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

CMAKE_MSVCIDE_RUN_PATH

CMAKE_MSVCIDE_RUN_PATH¶

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Extra PATH locations for custom commands when using
Visual Studio 9 2008 (or above) generators.

The CMAKE_MSVCIDE_RUN_PATH environment variable sets the default value for
the CMAKE_MSVCIDE_RUN_PATH variable if not already explicitly set.

Previous topic

CMAKE_<LANG>_LINKER_LAUNCHER

Next topic

CMAKE_NO_VERBOSE

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-env-variables(7) »

CMAKE_MSVCIDE_RUN_PATH

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_NO_VERBOSE — 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_OSX_ARCHITECTURES" href="CMAKE_OSX_ARCHITECTURES.html" />
    <link rel="prev" title="CMAKE_MSVCIDE_RUN_PATH" href="CMAKE_MSVCIDE_RUN_PATH.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

CMAKE_NO_VERBOSE

CMAKE_NO_VERBOSE¶

New in version 3.14.

Disables verbose output from CMake when VERBOSE environment variable
is set.

Only your build tool of choice will still print verbose output when you start
to actually build your project.

Previous topic

CMAKE_MSVCIDE_RUN_PATH

Next topic

CMAKE_OSX_ARCHITECTURES

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-env-variables(7) »

CMAKE_NO_VERBOSE

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

CMAKE_OSX_ARCHITECTURES

CMAKE_OSX_ARCHITECTURES¶

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Target specific architectures for macOS.

The CMAKE_OSX_ARCHITECTURES environment variable sets the default value for
the CMAKE_OSX_ARCHITECTURES variable. See
OSX_ARCHITECTURES for more information.

Previous topic

CMAKE_NO_VERBOSE

Next topic

CMAKE_TEST_LAUNCHER

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

CMAKE_OSX_ARCHITECTURES

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


code:
<!DOCTYPE html>

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

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

CMAKE_PREFIX_PATH

CMAKE_PREFIX_PATH¶

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

The CMAKE_PREFIX_PATH environment variable may be set to a list of
directories specifying installation prefixes to be searched by the
find_package(), find_program(), find_library(),
find_file(), and find_path() commands.  Each command will
add appropriate subdirectories (like bin, lib, or include)
as specified in its own documentation.

This variable may hold a single prefix or a list of prefixes separated
by : on UNIX or ; on Windows (the same as the PATH environment
variable convention on those platforms).

See also the CMAKE_PREFIX_PATH CMake variable.

Previous topic

CMAKE_MAXIMUM_RECURSION_DEPTH

Next topic

CMAKE_PROGRAM_PATH

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

CMAKE_PREFIX_PATH

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


code:
<!DOCTYPE html>

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

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

CMAKE_PROGRAM_PATH

CMAKE_PROGRAM_PATH¶

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

The CMAKE_PROGRAM_PATH environment variable may be set to a list of
directories to be searched by the find_program() command.

This variable may hold a single directory or a list of directories separated
by : on UNIX or ; on Windows (the same as the PATH environment
variable convention on those platforms).

See also the CMAKE_PROGRAM_PATH CMake variable.

Previous topic

CMAKE_PREFIX_PATH

Next topic

SSL_CERT_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-env-variables(7) »

CMAKE_PROGRAM_PATH

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


code:
<!DOCTYPE html>

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

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

CMAKE_TEST_LAUNCHER

CMAKE_TEST_LAUNCHER¶

New in version 3.29.

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

The default value for the CMAKE_TEST_LAUNCHER variable when there
is no explicit configuration given on the first run while creating a new
build tree.  On later runs in an existing build tree the value persists in
the cache as CMAKE_TEST_LAUNCHER.

Previous topic

CMAKE_OSX_ARCHITECTURES

Next topic

CMAKE_TOOLCHAIN_FILE

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

CMAKE_TEST_LAUNCHER

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


code:
<!DOCTYPE html>

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

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

CMAKE_TOOLCHAIN_FILE

CMAKE_TOOLCHAIN_FILE¶

New in version 3.21.

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

The CMAKE_TOOLCHAIN_FILE environment variable specifies a default value
for the CMAKE_TOOLCHAIN_FILE variable when there is no explicit
configuration given on the first run while creating a new build tree.
On later runs in an existing build tree the value persists in the cache
as CMAKE_TOOLCHAIN_FILE.

Previous topic

CMAKE_TEST_LAUNCHER

Next topic

DESTDIR

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-env-variables(7) »

CMAKE_TOOLCHAIN_FILE

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


code:
<!DOCTYPE html>

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

  <title>CSFLAGS — 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="CUDAARCHS" href="CUDAARCHS.html" />
    <link rel="prev" title="CFLAGS" href="CFLAGS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

CSFLAGS

CSFLAGS¶

New in version 3.9.2.

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Add default compilation flags to be used when compiling CSharp files.

CMake uses this environment variable value, in combination with its own
builtin default flags for the toolchain, to initialize and store the
CMAKE_CSharp_FLAGS cache entry.
This occurs the first time a build tree is configured for language CSharp.
For any configuration run (including the first), the environment variable
will be ignored if the CMAKE_CSharp_FLAGS variable is already defined.

See also CMAKE_CSharp_FLAGS_INIT.

Previous topic

CFLAGS

Next topic

CUDAARCHS

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-env-variables(7) »

CSFLAGS

        © 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>CTEST_INTERACTIVE_DEBUG_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="CTEST_NO_TESTS_ACTION" href="CTEST_NO_TESTS_ACTION.html" />
    <link rel="prev" title="SWIFTC" href="SWIFTC.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

CTEST_INTERACTIVE_DEBUG_MODE

CTEST_INTERACTIVE_DEBUG_MODE¶

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Environment variable that will exist and be set to 1 when a test executed
by ctest(1) is run in interactive mode.

Previous topic

SWIFTC

Next topic

CTEST_NO_TESTS_ACTION

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-env-variables(7) »

CTEST_INTERACTIVE_DEBUG_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>CTEST_NO_TESTS_ACTION — CMake 3.29.0-rc3 Documentation</title>

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

CTEST_NO_TESTS_ACTION

CTEST_NO_TESTS_ACTION¶

New in version 3.26.

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Environment variable that controls how ctest handles
cases when there are no tests to run. Possible values are: error,
ignore, empty or unset.

The --no-tests=<action> option to
ctest overrides this environment variable if both
are given.

Previous topic

CTEST_INTERACTIVE_DEBUG_MODE

Next topic

CTEST_OUTPUT_ON_FAILURE

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-env-variables(7) »

CTEST_NO_TESTS_ACTION

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

CTEST_OUTPUT_ON_FAILURE

CTEST_OUTPUT_ON_FAILURE¶

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Boolean environment variable that controls if the output should be logged for
failed tests. Set the value to 1, True, or ON to enable output on failure.
See ctest(1) for more information on controlling output of failed
tests.

Previous topic

CTEST_NO_TESTS_ACTION

Next topic

CTEST_PARALLEL_LEVEL

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-env-variables(7) »

CTEST_OUTPUT_ON_FAILURE

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

CTEST_PARALLEL_LEVEL

CTEST_PARALLEL_LEVEL¶

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Specify the number of tests for CTest to run in parallel.
For example, if CTEST_PARALLEL_LEVEL is set to 8, CTest will run
up to 8 tests concurrently as if ctest were invoked with the
--parallel 8 option.

See ctest(1) for more information on parallel test execution.

Previous topic

CTEST_OUTPUT_ON_FAILURE

Next topic

CTEST_PROGRESS_OUTPUT

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-env-variables(7) »

CTEST_PARALLEL_LEVEL

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

CTEST_PROGRESS_OUTPUT

CTEST_PROGRESS_OUTPUT¶

New in version 3.13.

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Boolean environment variable that affects how ctest
command output reports overall progress.  When set to 1, TRUE, ON or anything
else that evaluates to boolean true, progress is reported by repeatedly
updating the same line.  This greatly reduces the overall verbosity, but is
only supported when output is sent directly to a terminal.  If the environment
variable is not set or has a value that evaluates to false, output is reported
normally with each test having its own start and end lines logged to the
output.

The --progress option to ctest
overrides this environment variable if both are given.

Previous topic

CTEST_PARALLEL_LEVEL

Next topic

CTEST_USE_LAUNCHERS_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-env-variables(7) »

CTEST_PROGRESS_OUTPUT

        © 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>CTEST_USE_LAUNCHERS_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="DASHBOARD_TEST_FROM_CTEST" href="DASHBOARD_TEST_FROM_CTEST.html" />
    <link rel="prev" title="CTEST_PROGRESS_OUTPUT" href="CTEST_PROGRESS_OUTPUT.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

CTEST_USE_LAUNCHERS_DEFAULT

CTEST_USE_LAUNCHERS_DEFAULT¶

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Initializes the CTEST_USE_LAUNCHERS variable if not already defined.

Previous topic

CTEST_PROGRESS_OUTPUT

Next topic

DASHBOARD_TEST_FROM_CTEST

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-env-variables(7) »

CTEST_USE_LAUNCHERS_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>CUDAARCHS — 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="CUDACXX" href="CUDACXX.html" />
    <link rel="prev" title="CSFLAGS" href="CSFLAGS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

CUDAARCHS

CUDAARCHS¶

New in version 3.20.

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Value used to initialize CMAKE_CUDA_ARCHITECTURES on the first
configuration. Subsequent runs will use the value stored in the cache.

This is a semicolon-separated list of architectures as described in
CUDA_ARCHITECTURES.

Previous topic

CSFLAGS

Next topic

CUDACXX

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-env-variables(7) »

CUDAARCHS

        © 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>CUDACXX — 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="CUDAFLAGS" href="CUDAFLAGS.html" />
    <link rel="prev" title="CUDAARCHS" href="CUDAARCHS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

CUDACXX

CUDACXX¶

New in version 3.8.

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Preferred executable for compiling CUDA language files. Will only be used by
CMake on the first configuration to determine CUDA compiler, after which the
value for CUDA is stored in the cache as
CMAKE_CUDA_COMPILER. For any configuration
run (including the first), the environment variable will be ignored if the
CMAKE_CUDA_COMPILER variable is defined.

Note

Options that are required to make the compiler work correctly can be included;
they can not be changed.

$ export CUDACXX="custom-compiler --arg1 --arg2"

Previous topic

CUDAARCHS

Next topic

CUDAFLAGS

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-env-variables(7) »

CUDACXX

        © 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>CUDAFLAGS — 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="CUDAHOSTCXX" href="CUDAHOSTCXX.html" />
    <link rel="prev" title="CUDACXX" href="CUDACXX.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

CUDAFLAGS

CUDAFLAGS¶

New in version 3.8.

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Add default compilation flags to be used when compiling CUDA files.

CMake uses this environment variable value, in combination with its own
builtin default flags for the toolchain, to initialize and store the
CMAKE_CUDA_FLAGS cache entry.
This occurs the first time a build tree is configured for language CUDA.
For any configuration run (including the first), the environment variable
will be ignored if the CMAKE_CUDA_FLAGS variable is already defined.

See also CMAKE_CUDA_FLAGS_INIT.

Previous topic

CUDACXX

Next topic

CUDAHOSTCXX

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-env-variables(7) »

CUDAFLAGS

        © 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>CUDAHOSTCXX — 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="CXX" href="CXX.html" />
    <link rel="prev" title="CUDAFLAGS" href="CUDAFLAGS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

CUDAHOSTCXX

CUDAHOSTCXX¶

New in version 3.8.

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Preferred executable for compiling host code when compiling CUDA
language files. Will only be used by CMake on the first configuration to
determine CUDA host compiler, after which the value for CUDAHOSTCXX is
stored in the cache as
CMAKE_CUDA_HOST_COMPILER.
This environment variable is preferred over
CMAKE_CUDA_HOST_COMPILER.

This environment variable is primarily meant for use with projects that
enable CUDA as a first-class language.

Note

Ignored when using Visual Studio Generators.

New in version 3.13: The FindCUDA
module will use this variable to initialize its CUDA_HOST_COMPILER setting.

Previous topic

CUDAFLAGS

Next topic

CXX

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-env-variables(7) »

CUDAHOSTCXX

        © 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>CXX — 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="CXXFLAGS" href="CXXFLAGS.html" />
    <link rel="prev" title="CUDAHOSTCXX" href="CUDAHOSTCXX.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

CXX

CXX¶

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Preferred executable for compiling CXX language files. Will only be used by
CMake on the first configuration to determine CXX compiler, after which the
value for CXX is stored in the cache as
CMAKE_CXX_COMPILER. For any configuration
run (including the first), the environment variable will be ignored if the
CMAKE_CXX_COMPILER variable is defined.

Note

Options that are required to make the compiler work correctly can be included;
they can not be changed.

$ export CXX="custom-compiler --arg1 --arg2"

Previous topic

CUDAHOSTCXX

Next topic

CXXFLAGS

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-env-variables(7) »

CXX

        © 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>CXXFLAGS — 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="FC" href="FC.html" />
    <link rel="prev" title="CXX" href="CXX.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

CXXFLAGS

CXXFLAGS¶

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Add default compilation flags to be used when compiling CXX (C++) files.

CMake uses this environment variable value, in combination with its own
builtin default flags for the toolchain, to initialize and store the
CMAKE_CXX_FLAGS cache entry.
This occurs the first time a build tree is configured for language CXX.
For any configuration run (including the first), the environment variable
will be ignored if the CMAKE_CXX_FLAGS variable is already defined.

See also CMAKE_CXX_FLAGS_INIT.

Previous topic

CXX

Next topic

FC

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-env-variables(7) »

CXXFLAGS

        © 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>DASHBOARD_TEST_FROM_CTEST — 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="CCMAKE_COLORS" href="CCMAKE_COLORS.html" />
    <link rel="prev" title="CTEST_USE_LAUNCHERS_DEFAULT" href="CTEST_USE_LAUNCHERS_DEFAULT.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

DASHBOARD_TEST_FROM_CTEST

DASHBOARD_TEST_FROM_CTEST¶

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Environment variable that will exist when a test executed by ctest(1)
is run in non-interactive mode.  The value will be equal to
CMAKE_VERSION.

Previous topic

CTEST_USE_LAUNCHERS_DEFAULT

Next topic

CCMAKE_COLORS

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-env-variables(7) »

DASHBOARD_TEST_FROM_CTEST

        © 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>DESTDIR — 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="LDFLAGS" href="LDFLAGS.html" />
    <link rel="prev" title="CMAKE_TOOLCHAIN_FILE" href="CMAKE_TOOLCHAIN_FILE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

DESTDIR

DESTDIR¶

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

On UNIX one can use the DESTDIR mechanism in order to relocate the
whole installation.  DESTDIR means DESTination DIRectory.  It is
commonly used by packagers to install software in a staging directory.

For example, running

make DESTDIR=/package/stage install

will install the software using the installation prefix, e.g. /usr/local,
prepended with the DESTDIR value which gives /package/stage/usr/local.
The packaging tool may then construct the package from the content of the
/package/stage directory.

See the CMAKE_INSTALL_PREFIX variable to control the
installation prefix when configuring a build tree.  Or, when using
the cmake(1) command-line tool's --install
mode, one may specify a different prefix using the
--prefix option.

Note

DESTDIR may not be used on Windows because installation
prefix usually contains a drive letter like in C:/Program Files
which cannot be prepended with some other prefix.

Previous topic

CMAKE_TOOLCHAIN_FILE

Next topic

LDFLAGS

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-env-variables(7) »

DESTDIR

        © 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>FC — 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="FFLAGS" href="FFLAGS.html" />
    <link rel="prev" title="CXXFLAGS" href="CXXFLAGS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

FC

FC¶

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Preferred executable for compiling Fortran language files. Will only be used
by CMake on the first configuration to determine Fortran compiler, after
which the value for Fortran is stored in the cache as
CMAKE_Fortran_COMPILER. For any
configuration run (including the first), the environment variable will be
ignored if the CMAKE_Fortran_COMPILER
variable is defined.

Note

Options that are required to make the compiler work correctly can be included;
they can not be changed.

$ export FC="custom-compiler --arg1 --arg2"

Previous topic

CXXFLAGS

Next topic

FFLAGS

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-env-variables(7) »

FC

        © 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>FFLAGS — 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="HIPCXX" href="HIPCXX.html" />
    <link rel="prev" title="FC" href="FC.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

FFLAGS

FFLAGS¶

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Add default compilation flags to be used when compiling Fortran files.

CMake uses this environment variable value, in combination with its own
builtin default flags for the toolchain, to initialize and store the
CMAKE_Fortran_FLAGS cache entry.
This occurs the first time a build tree is configured for language Fortran.
For any configuration run (including the first), the environment variable
will be ignored if the CMAKE_Fortran_FLAGS variable is already defined.

See also CMAKE_Fortran_FLAGS_INIT.

Previous topic

FC

Next topic

HIPCXX

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-env-variables(7) »

FFLAGS

        © 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>HIPCXX — 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="HIPFLAGS" href="HIPFLAGS.html" />
    <link rel="prev" title="FFLAGS" href="FFLAGS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

HIPCXX

HIPCXX¶

New in version 3.21.

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Preferred executable for compiling HIP language files. Will only be used by
CMake on the first configuration to determine HIP compiler, after which the
value for HIP is stored in the cache as
CMAKE_HIP_COMPILER. For any configuration
run (including the first), the environment variable will be ignored if the
CMAKE_HIP_COMPILER variable is defined.

Previous topic

FFLAGS

Next topic

HIPFLAGS

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-env-variables(7) »

HIPCXX

        © 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>HIPFLAGS — 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="HIPHOSTCXX" href="HIPHOSTCXX.html" />
    <link rel="prev" title="HIPCXX" href="HIPCXX.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

HIPFLAGS

HIPFLAGS¶

New in version 3.21.

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Add default compilation flags to be used when compiling HIP files.

CMake uses this environment variable value, in combination with its own
builtin default flags for the toolchain, to initialize and store the
CMAKE_HIP_FLAGS cache entry.
This occurs the first time a build tree is configured for language HIP.
For any configuration run (including the first), the environment variable
will be ignored if the CMAKE_HIP_FLAGS variable is already defined.

See also CMAKE_HIP_FLAGS_INIT.

Previous topic

HIPCXX

Next topic

HIPHOSTCXX

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-env-variables(7) »

HIPFLAGS

        © 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>HIPHOSTCXX — 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="ISPC" href="ISPC.html" />
    <link rel="prev" title="HIPFLAGS" href="HIPFLAGS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

HIPHOSTCXX

HIPHOSTCXX¶

New in version 3.28.

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Preferred executable for compiling host code when compiling HIP
language files with the NVIDIA CUDA Compiler. Will only be used by CMake
on the first configuration to determine HIP host compiler, after which
the value for HIPHOSTCXX is stored in the cache as
CMAKE_HIP_HOST_COMPILER.

This environment variable is primarily meant for use with projects that
enable HIP as a first-class language.

Note

Ignored when using Visual Studio Generators.

Previous topic

HIPFLAGS

Next topic

ISPC

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-env-variables(7) »

HIPHOSTCXX

        © 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>ISPC — 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="ISPCFLAGS" href="ISPCFLAGS.html" />
    <link rel="prev" title="HIPHOSTCXX" href="HIPHOSTCXX.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

ISPC

ISPC¶

New in version 3.19.

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Preferred executable for compiling ISPC language files. Will only be used by
CMake on the first configuration to determine ISPC compiler, after which the
value for ISPC is stored in the cache as
CMAKE_ISPC_COMPILER. For any configuration
run (including the first), the environment variable will be ignored if the
CMAKE_ISPC_COMPILER variable is defined.

Previous topic

HIPHOSTCXX

Next topic

ISPCFLAGS

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-env-variables(7) »

ISPC

        © 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>ISPCFLAGS — 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="OBJC" href="OBJC.html" />
    <link rel="prev" title="ISPC" href="ISPC.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

ISPCFLAGS

ISPCFLAGS¶

New in version 3.19.

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Add default compilation flags to be used when compiling ISPC files.

CMake uses this environment variable value, in combination with its own
builtin default flags for the toolchain, to initialize and store the
CMAKE_ISPC_FLAGS cache entry.
This occurs the first time a build tree is configured for language ISPC.
For any configuration run (including the first), the environment variable
will be ignored if the CMAKE_ISPC_FLAGS variable is already defined.

See also CMAKE_ISPC_FLAGS_INIT.

Previous topic

ISPC

Next topic

OBJC

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-env-variables(7) »

ISPCFLAGS

        © 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>LDFLAGS — 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="MACOSX_DEPLOYMENT_TARGET" href="MACOSX_DEPLOYMENT_TARGET.html" />
    <link rel="prev" title="DESTDIR" href="DESTDIR.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

LDFLAGS

LDFLAGS¶

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Will only be used by CMake on the first configuration to determine the default
linker flags, after which the value for LDFLAGS is stored in the cache
as CMAKE_EXE_LINKER_FLAGS_INIT,
CMAKE_SHARED_LINKER_FLAGS_INIT, and
CMAKE_MODULE_LINKER_FLAGS_INIT. For any configuration run
(including the first), the environment variable will be ignored if the
equivalent  CMAKE_<TYPE>_LINKER_FLAGS_INIT variable is defined.

Previous topic

DESTDIR

Next topic

MACOSX_DEPLOYMENT_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-env-variables(7) »

LDFLAGS

        © 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>MACOSX_DEPLOYMENT_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="<PackageName>_ROOT" href="PackageName_ROOT.html" />
    <link rel="prev" title="LDFLAGS" href="LDFLAGS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

MACOSX_DEPLOYMENT_TARGET

MACOSX_DEPLOYMENT_TARGET¶

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Specify the minimum version of macOS on which the target binaries are
to be deployed.

The MACOSX_DEPLOYMENT_TARGET environment variable sets the default value for
the CMAKE_OSX_DEPLOYMENT_TARGET variable.

Previous topic

LDFLAGS

Next topic

<PackageName>_ROOT

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-env-variables(7) »

MACOSX_DEPLOYMENT_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>OBJC — 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="OBJCXX" href="OBJCXX.html" />
    <link rel="prev" title="ISPCFLAGS" href="ISPCFLAGS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

OBJC

OBJC¶

New in version 3.16.7.

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Preferred executable for compiling OBJC language files. Will only be used
by CMake on the first configuration to determine OBJC compiler, after
which the value for OBJC is stored in the cache as
CMAKE_OBJC_COMPILER. For any configuration
run (including the first), the environment variable will be ignored if the
CMAKE_OBJC_COMPILER variable is defined.

If OBJC is not defined, the CC environment variable will
be checked instead.

Previous topic

ISPCFLAGS

Next topic

OBJCXX

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-env-variables(7) »

OBJC

        © 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>OBJCXX — 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="RC" href="RC.html" />
    <link rel="prev" title="OBJC" href="OBJC.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

OBJCXX

OBJCXX¶

New in version 3.16.7.

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Preferred executable for compiling OBJCXX language files. Will only be used
by CMake on the first configuration to determine OBJCXX compiler, after
which the value for OBJCXX is stored in the cache as
CMAKE_OBJCXX_COMPILER. For any configuration
run (including the first), the environment variable will be ignored if the
CMAKE_OBJCXX_COMPILER variable is defined.

If OBJCXX is not defined, the CXX environment variable will
be checked instead.

Previous topic

OBJC

Next topic

RC

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-env-variables(7) »

OBJCXX

        © 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><PackageName>_ROOT — 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="VERBOSE" href="VERBOSE.html" />
    <link rel="prev" title="MACOSX_DEPLOYMENT_TARGET" href="MACOSX_DEPLOYMENT_TARGET.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

<PackageName>_ROOT

<span id="envvar:<PackageName>_ROOT">
<PackageName>_ROOT¶

New in version 3.12.

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Calls to find_package(<PackageName>) will search in prefixes
specified by the <PackageName>_ROOT environment variable, where
<PackageName> is the (case-preserved) name given to the
find_package() call and _ROOT is literal.
For example, find_package(Foo) will search prefixes specified in the
Foo_ROOT environment variable (if set).  See policy CMP0074.

This variable may hold a single prefix or a list of prefixes separated
by : on UNIX or ; on Windows (the same as the PATH environment
variable convention on those platforms).

See also the <PackageName>_ROOT CMake variable.

<PACKAGENAME>_ROOT<a class="headerlink" href="#envvar:<PACKAGENAME>_ROOT" title="Permalink to this definition">¶

New in version 3.27.

Calls to find_package(<PackageName>) will also search in
prefixes specified by the upper-case <PACKAGENAME>_ROOT environment
variable.  See policy CMP0144.

Note

Note that the <PackageName>_ROOT and <PACKAGENAME>_ROOT
environment variables are distinct only on platforms that have
case-sensitive environments.

Previous topic

MACOSX_DEPLOYMENT_TARGET

Next topic

VERBOSE

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-env-variables(7) »

<PackageName>_ROOT

        © 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>RC — 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="RCFLAGS" href="RCFLAGS.html" />
    <link rel="prev" title="OBJCXX" href="OBJCXX.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

RC

RC¶

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Preferred executable for compiling resource files. Will only be used by CMake
on the first configuration to determine resource compiler, after which the
value for RC is stored in the cache as
CMAKE_RC_COMPILER. For any configuration run
(including the first), the environment variable will be ignored if the
CMAKE_RC_COMPILER variable is defined.

Note

Options that are required to make the compiler work correctly can be included;
they can not be changed.

$ export RC="custom-compiler --arg1 --arg2"

Previous topic

OBJCXX

Next topic

RCFLAGS

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-env-variables(7) »

RC

        © 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>RCFLAGS — 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="SWIFTC" href="SWIFTC.html" />
    <link rel="prev" title="RC" href="RC.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

RCFLAGS

RCFLAGS¶

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Add default compilation flags to be used when compiling RC (resource) files.

CMake uses this environment variable value, in combination with its own
builtin default flags for the toolchain, to initialize and store the
CMAKE_RC_FLAGS cache entry.
This occurs the first time a build tree is configured for language RC.
For any configuration run (including the first), the environment variable
will be ignored if the CMAKE_RC_FLAGS variable is already defined.

See also CMAKE_RC_FLAGS_INIT.

Previous topic

RC

Next topic

SWIFTC

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-env-variables(7) »

RCFLAGS

        © 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>SSL_CERT_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="SSL_CERT_FILE" href="SSL_CERT_FILE.html" />
    <link rel="prev" title="CMAKE_PROGRAM_PATH" href="CMAKE_PROGRAM_PATH.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

SSL_CERT_DIR

SSL_CERT_DIR¶

New in version 3.25.

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Specify default directory containing CA certificates.  It overrides
the default CA directory used.

Previous topic

CMAKE_PROGRAM_PATH

Next topic

SSL_CERT_FILE

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

SSL_CERT_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>SSL_CERT_FILE — CMake 3.29.0-rc3 Documentation</title>

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

SSL_CERT_FILE

SSL_CERT_FILE¶

New in version 3.25.

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Specify the file name containing CA certificates.  It overrides the
default, os-specific CA file used.

Previous topic

SSL_CERT_DIR

Next topic

ADSP_ROOT

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-env-variables(7) »

SSL_CERT_FILE

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


code:
<!DOCTYPE html>

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

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

SWIFTC

SWIFTC¶

New in version 3.15.

This is a CMake Environment Variable. Its initial value is taken from
the calling process environment.

Preferred executable for compiling Swift language files. Will only be used by
CMake on the first configuration to determine Swift compiler, after which the
value for SWIFTC is stored in the cache as
CMAKE_Swift_COMPILER. For any configuration run
(including the first), the environment variable will be ignored if the
CMAKE_Swift_COMPILER variable is defined.

Note

Options that are required to make the compiler work correctly can be included;
they can not be changed.

$ export SWIFTC="custom-compiler --arg1 --arg2"

Previous topic

RCFLAGS

Next topic

CTEST_INTERACTIVE_DEBUG_MODE

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

SWIFTC

        © 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>VERBOSE — 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="ASM<DIALECT>" href="ASM_DIALECT.html" />
    <link rel="prev" title="<PackageName>_ROOT" href="PackageName_ROOT.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-env-variables(7) »

VERBOSE

VERBOSE¶

New in version 3.14.

Activates verbose output from CMake and your build tools of choice when
you start to actually build your project.

Note that any given value is ignored. It's just checked for existence.

See also Build Tool Mode and
CMAKE_NO_VERBOSE environment variable

Previous topic

<PackageName>_ROOT

Next topic

ASM<DIALECT>

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-env-variables(7) »

VERBOSE

        © 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>Borland Makefiles — 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="MSYS Makefiles" href="MSYS%20Makefiles.html" />
    <link rel="prev" title="cmake-generators(7)" href="../manual/cmake-generators.7.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-generators(7) »

Borland Makefiles

Borland Makefiles¶

Generates Borland makefiles.

Previous topic

cmake-generators(7)

Next topic

MSYS Makefiles

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-generators(7) »

Borland Makefiles

        © 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>CodeBlocks — 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="CodeLite" href="CodeLite.html" />
    <link rel="prev" title="Xcode" href="Xcode.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-generators(7) »

CodeBlocks

CodeBlocks¶

Deprecated since version 3.27: Support for Extra Generators is deprecated and will be removed from
a future version of CMake.  IDEs may use the cmake-file-api(7)
to view CMake-generated project build trees.

Generates CodeBlocks project files.

Project files for CodeBlocks will be created in the top directory and
in every subdirectory which features a CMakeLists.txt file containing
a project() call.  Additionally a hierarchy of makefiles is generated
into the build tree.
The appropriate make program can build the
project through the default all target.  An install target is
also provided.

New in version 3.10: The CMAKE_CODEBLOCKS_EXCLUDE_EXTERNAL_FILES variable may
be set to ON to exclude any files which are located outside of
the project root directory.

This "extra" generator may be specified as:

CodeBlocks - MinGW Makefiles

Generate with MinGW Makefiles.

CodeBlocks - NMake Makefiles

Generate with NMake Makefiles.

CodeBlocks - NMake Makefiles JOM

New in version 3.8: Generate with NMake Makefiles JOM.

CodeBlocks - Ninja

Generate with Ninja.

CodeBlocks - Unix Makefiles

Generate with Unix Makefiles.

Previous topic

Xcode

Next topic

CodeLite

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-generators(7) »

CodeBlocks

        © 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>CodeLite — 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="Eclipse CDT4" href="Eclipse%20CDT4.html" />
    <link rel="prev" title="CodeBlocks" href="CodeBlocks.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-generators(7) »

CodeLite

CodeLite¶

Deprecated since version 3.27: Support for Extra Generators is deprecated and will be removed from
a future version of CMake.  IDEs may use the cmake-file-api(7)
to view CMake-generated project build trees.

Generates CodeLite project files.

Project files for CodeLite will be created in the top directory and
in every subdirectory which features a CMakeLists.txt file containing
a project() call.
The appropriate make program can build the
project through the default all target.  An install target
is also provided.

New in version 3.7: The CMAKE_CODELITE_USE_TARGETS variable may be set to ON
to change the default behavior from projects to targets as the basis
for project files.

This "extra" generator may be specified as:

CodeLite - MinGW Makefiles

Generate with MinGW Makefiles.

CodeLite - NMake Makefiles

Generate with NMake Makefiles.

CodeLite - Ninja

Generate with Ninja.

CodeLite - Unix Makefiles

Generate with Unix Makefiles.

Previous topic

CodeBlocks

Next topic

Eclipse CDT4

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-generators(7) »

CodeLite

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