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_CURRENT_FUNCTION_LIST_LINE — 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_CURRENT_LIST_DIR" href="CMAKE_CURRENT_LIST_DIR.html" />
    <link rel="prev" title="CMAKE_CURRENT_FUNCTION_LIST_FILE" href="CMAKE_CURRENT_FUNCTION_LIST_FILE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_CURRENT_FUNCTION_LIST_LINE

CMAKE_CURRENT_FUNCTION_LIST_LINE¶

New in version 3.17.

When executing code inside a function(), this variable
contains the line number in the listfile where the current function
was defined.

See also CMAKE_CURRENT_FUNCTION,
CMAKE_CURRENT_FUNCTION_LIST_DIR and
CMAKE_CURRENT_FUNCTION_LIST_FILE.

Previous topic

CMAKE_CURRENT_FUNCTION_LIST_FILE

Next topic

CMAKE_CURRENT_LIST_DIR

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_CURRENT_FUNCTION_LIST_LINE

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_CURRENT_LIST_DIR

CMAKE_CURRENT_LIST_DIR¶

Full directory of the listfile currently being processed.

As CMake processes the listfiles in your project this variable will
always be set to the directory where the listfile which is currently
being processed (CMAKE_CURRENT_LIST_FILE) is located.  The value
has dynamic scope.  When CMake starts processing commands in a source file
it sets this variable to the directory where this file is located.
When CMake finishes processing commands from the file it restores the
previous value.  Therefore the value of the variable inside a macro or
function is the directory of the file invoking the bottom-most entry
on the call stack, not the directory of the file containing the macro
or function definition.

See also CMAKE_CURRENT_LIST_FILE.

Previous topic

CMAKE_CURRENT_FUNCTION_LIST_LINE

Next topic

CMAKE_CURRENT_LIST_FILE

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_CURRENT_LIST_DIR

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_CURRENT_LIST_FILE

CMAKE_CURRENT_LIST_FILE¶

Full path to the listfile currently being processed.

As CMake processes the listfiles in your project this variable will
always be set to the one currently being processed.  The value has
dynamic scope.  When CMake starts processing commands in a source file
it sets this variable to the location of the file.  When CMake
finishes processing commands from the file it restores the previous
value.  Therefore the value of the variable inside a macro or function
is the file invoking the bottom-most entry on the call stack, not the
file containing the macro or function definition.

See also CMAKE_PARENT_LIST_FILE.

Previous topic

CMAKE_CURRENT_LIST_DIR

Next topic

CMAKE_CURRENT_LIST_LINE

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_CURRENT_LIST_FILE

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_CURRENT_LIST_LINE — 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_CURRENT_SOURCE_DIR" href="CMAKE_CURRENT_SOURCE_DIR.html" />
    <link rel="prev" title="CMAKE_CURRENT_LIST_FILE" href="CMAKE_CURRENT_LIST_FILE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_CURRENT_LIST_LINE

CMAKE_CURRENT_LIST_LINE¶

The line number of the current file being processed.

This is the line number of the file currently being processed by
cmake.

If CMake is currently processing deferred calls scheduled by
the cmake_language(DEFER) command, this variable
evaluates to DEFERRED instead of a specific line number.

Previous topic

CMAKE_CURRENT_LIST_FILE

Next topic

CMAKE_CURRENT_SOURCE_DIR

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_CURRENT_LIST_LINE

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_CURRENT_SOURCE_DIR

CMAKE_CURRENT_SOURCE_DIR¶

The path to the source directory currently being processed.

This is the full path to the source directory that is currently being
processed by cmake.

When run in cmake -P script mode, CMake sets the variables
CMAKE_BINARY_DIR, CMAKE_SOURCE_DIR,
CMAKE_CURRENT_BINARY_DIR and
CMAKE_CURRENT_SOURCE_DIR to the current working directory.

Previous topic

CMAKE_CURRENT_LIST_LINE

Next topic

CMAKE_DEBUG_TARGET_PROPERTIES

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_CURRENT_SOURCE_DIR

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_CXX_COMPILE_FEATURES — 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_CXX_EXTENSIONS" href="CMAKE_CXX_EXTENSIONS.html" />
    <link rel="prev" title="CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES" href="CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_CXX_COMPILE_FEATURES

CMAKE_CXX_COMPILE_FEATURES¶

New in version 3.1.

List of features known to the C++ compiler

These features are known to be available for use with the C++ compiler. This
list is a subset of the features listed in the
CMAKE_CXX_KNOWN_FEATURES global property.

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

Previous topic

CMAKE_CUDA_TOOLKIT_INCLUDE_DIRECTORIES

Next topic

CMAKE_CXX_EXTENSIONS

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_CXX_COMPILE_FEATURES

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_CXX_EXTENSIONS

CMAKE_CXX_EXTENSIONS¶

New in version 3.1.

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

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

Previous topic

CMAKE_CXX_COMPILE_FEATURES

Next topic

CMAKE_CXX_STANDARD

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_CXX_EXTENSIONS

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_CXX_SCAN_FOR_MODULES — 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_DEBUG_POSTFIX" href="CMAKE_DEBUG_POSTFIX.html" />
    <link rel="prev" title="CMAKE_CUDA_SEPARABLE_COMPILATION" href="CMAKE_CUDA_SEPARABLE_COMPILATION.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_CXX_SCAN_FOR_MODULES

CMAKE_CXX_SCAN_FOR_MODULES¶

New in version 3.28.

Whether to scan C++ source files for module dependencies.

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

Previous topic

CMAKE_CUDA_SEPARABLE_COMPILATION

Next topic

CMAKE_DEBUG_POSTFIX

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_CXX_SCAN_FOR_MODULES

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_CXX_STANDARD

CMAKE_CXX_STANDARD¶

New in version 3.1.

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

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

Previous topic

CMAKE_CXX_EXTENSIONS

Next topic

CMAKE_CXX_STANDARD_REQUIRED

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_CXX_STANDARD

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


code:
<!DOCTYPE html>

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

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_CXX_STANDARD_REQUIRED

CMAKE_CXX_STANDARD_REQUIRED¶

New in version 3.1.

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

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

Previous topic

CMAKE_CXX_STANDARD

Next topic

CMAKE_Fortran_MODDIR_DEFAULT

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_CXX_STANDARD_REQUIRED

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_C_COMPILE_FEATURES — 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_C_EXTENSIONS" href="CMAKE_C_EXTENSIONS.html" />
    <link rel="prev" title="LIBRARY_OUTPUT_PATH" href="LIBRARY_OUTPUT_PATH.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_C_COMPILE_FEATURES

CMAKE_C_COMPILE_FEATURES¶

New in version 3.1.

List of features known to the C compiler

These features are known to be available for use with the C compiler. This
list is a subset of the features listed in the
CMAKE_C_KNOWN_FEATURES global property.

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

Previous topic

LIBRARY_OUTPUT_PATH

Next topic

CMAKE_C_EXTENSIONS

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_C_COMPILE_FEATURES

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_C_EXTENSIONS

CMAKE_C_EXTENSIONS¶

New in version 3.1.

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

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

Previous topic

CMAKE_C_COMPILE_FEATURES

Next topic

CMAKE_C_STANDARD

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_C_EXTENSIONS

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


code:
<!DOCTYPE html>

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

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_C_STANDARD

CMAKE_C_STANDARD¶

New in version 3.1.

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

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

Previous topic

CMAKE_C_EXTENSIONS

Next topic

CMAKE_C_STANDARD_REQUIRED

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_C_STANDARD

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


code:
<!DOCTYPE html>

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

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_C_STANDARD_REQUIRED

CMAKE_C_STANDARD_REQUIRED¶

New in version 3.1.

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

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

Previous topic

CMAKE_C_STANDARD

Next topic

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

CMAKE_C_STANDARD_REQUIRED

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_DEBUG_POSTFIX — 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_DEFAULT_BUILD_TYPE" href="CMAKE_DEFAULT_BUILD_TYPE.html" />
    <link rel="prev" title="CMAKE_CXX_SCAN_FOR_MODULES" href="CMAKE_CXX_SCAN_FOR_MODULES.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_DEBUG_POSTFIX

CMAKE_DEBUG_POSTFIX¶

See variable CMAKE_<CONFIG>_POSTFIX.

This variable is a special case of the more-general
CMAKE_<CONFIG>_POSTFIX variable for the DEBUG configuration.

Previous topic

CMAKE_CXX_SCAN_FOR_MODULES

Next topic

CMAKE_DEFAULT_BUILD_TYPE

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_DEBUG_POSTFIX

        © 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_DEBUG_TARGET_PROPERTIES — 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_DIRECTORY_LABELS" href="CMAKE_DIRECTORY_LABELS.html" />
    <link rel="prev" title="CMAKE_CURRENT_SOURCE_DIR" href="CMAKE_CURRENT_SOURCE_DIR.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_DEBUG_TARGET_PROPERTIES

CMAKE_DEBUG_TARGET_PROPERTIES¶

Enables tracing output for target properties.

This variable can be populated with a list of properties to generate
debug output for when evaluating target properties.  Currently it can
only be used when evaluating:

AUTOUIC_OPTIONS

COMPILE_DEFINITIONS

COMPILE_FEATURES

COMPILE_OPTIONS

INCLUDE_DIRECTORIES

LINK_DIRECTORIES

LINK_OPTIONS

POSITION_INDEPENDENT_CODE

SOURCES

target properties and any other property listed in
COMPATIBLE_INTERFACE_STRING and other
COMPATIBLE_INTERFACE_ properties.  It outputs an origin for each entry
in the target property.  Default is unset.

Previous topic

CMAKE_CURRENT_SOURCE_DIR

Next topic

CMAKE_DIRECTORY_LABELS

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_DEBUG_TARGET_PROPERTIES

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_DEFAULT_BUILD_TYPE

CMAKE_DEFAULT_BUILD_TYPE¶

New in version 3.17.

Specifies the configuration to use by default in a build.ninja file in the
Ninja Multi-Config generator. If this variable is specified,
build.ninja uses build rules from build-<Config>.ninja by default. All
custom commands are executed with this configuration. If the variable is not
specified, the first item from CMAKE_CONFIGURATION_TYPES is used
instead.

The value of this variable must be one of the items from
CMAKE_CONFIGURATION_TYPES.

Previous topic

CMAKE_DEBUG_POSTFIX

Next topic

CMAKE_DEFAULT_CONFIGS

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_DEFAULT_BUILD_TYPE

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_DEFAULT_CONFIGS — 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_DEPENDS_USE_COMPILER" href="CMAKE_DEPENDS_USE_COMPILER.html" />
    <link rel="prev" title="CMAKE_DEFAULT_BUILD_TYPE" href="CMAKE_DEFAULT_BUILD_TYPE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_DEFAULT_CONFIGS

CMAKE_DEFAULT_CONFIGS¶

New in version 3.17.

Specifies a semicolon-separated list of configurations
to build for a target in build.ninja if no :<Config> suffix is specified in
the Ninja Multi-Config generator. If it is set to all, all
configurations from CMAKE_CROSS_CONFIGS are used. If it is not
specified, it defaults to CMAKE_DEFAULT_BUILD_TYPE.

For example, if you set CMAKE_DEFAULT_BUILD_TYPE to Release,
but set CMAKE_DEFAULT_CONFIGS to Debug or all, all
<target> aliases in build.ninja will resolve to <target>:Debug or
<target>:all, but custom commands will still use the Release
configuration.

The value of this variable must be a subset of CMAKE_CROSS_CONFIGS
or be the same as CMAKE_DEFAULT_BUILD_TYPE. It must not be
specified if CMAKE_DEFAULT_BUILD_TYPE or
CMAKE_CROSS_CONFIGS is not used.

Previous topic

CMAKE_DEFAULT_BUILD_TYPE

Next topic

CMAKE_DEPENDS_USE_COMPILER

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_DEFAULT_CONFIGS

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_DEPENDS_IN_PROJECT_ONLY

CMAKE_DEPENDS_IN_PROJECT_ONLY¶

New in version 3.6.

When set to TRUE in a directory, the build system produced by the
Makefile Generators is set up to only consider dependencies on source
files that appear either in the source or in the binary directories.  Changes
to source files outside of these directories will not cause rebuilds.

This should be used carefully in cases where some source files are picked up
through external headers during the build.

Previous topic

CMAKE_CONFIGURATION_TYPES

Next topic

CMAKE_DISABLE_FIND_PACKAGE_<PackageName>

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_DEPENDS_IN_PROJECT_ONLY

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


code:
<!DOCTYPE html>

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

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_DEPENDS_USE_COMPILER

CMAKE_DEPENDS_USE_COMPILER¶

New in version 3.20.

For the Makefile Generators, source dependencies are now, for a
selection of compilers, generated by the compiler itself. By defining this
variable with value FALSE, you can restore the legacy behavior (i.e. using
CMake for dependencies discovery).

Previous topic

CMAKE_DEFAULT_CONFIGS

Next topic

CMAKE_DISABLE_PRECOMPILE_HEADERS

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_DEPENDS_USE_COMPILER

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_DIRECTORY_LABELS — 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_DL_LIBS" href="CMAKE_DL_LIBS.html" />
    <link rel="prev" title="CMAKE_DEBUG_TARGET_PROPERTIES" href="CMAKE_DEBUG_TARGET_PROPERTIES.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_DIRECTORY_LABELS

CMAKE_DIRECTORY_LABELS¶

New in version 3.10.

Specify labels for the current directory.

This is used to initialize the LABELS directory property.

Previous topic

CMAKE_DEBUG_TARGET_PROPERTIES

Next topic

CMAKE_DL_LIBS

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_DIRECTORY_LABELS

        © 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_DISABLE_FIND_PACKAGE_<PackageName> — 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_ECLIPSE_GENERATE_LINKED_RESOURCES" href="CMAKE_ECLIPSE_GENERATE_LINKED_RESOURCES.html" />
    <link rel="prev" title="CMAKE_DEPENDS_IN_PROJECT_ONLY" href="CMAKE_DEPENDS_IN_PROJECT_ONLY.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_DISABLE_FIND_PACKAGE_<PackageName>

<span id="variable:CMAKE_DISABLE_FIND_PACKAGE_<PackageName>">
CMAKE_DISABLE_FIND_PACKAGE_<PackageName>¶

Variable for disabling find_package() calls.

Every non-REQUIRED find_package() call in a project can be
disabled by setting the variable
CMAKE_DISABLE_FIND_PACKAGE_<PackageName> to TRUE.
This can be used to build a project without an optional package,
although that package is installed.

This switch should be used during the initial CMake run.  Otherwise if
the package has already been found in a previous CMake run, the
variables which have been stored in the cache will still be there.  In
that case it is recommended to remove the cache variables for this
package from the cache using the cache editor or cmake -U.

Note that this variable can lead to inconsistent results within the project.
Consider the case where a dependency is requested via find_package()
from two different places within the project.  If the first call does not
have the REQUIRED keyword, it will not find the dependency when
CMAKE_DISABLE_FIND_PACKAGE_<PackageName> is set to true for that
dependency.  The project will proceed under the assumption that the dependency
isn't available.  If the second call elsewhere in the project does have the
REQUIRED keyword, it can succeed.  Two different parts of the same project
have then seen opposite results for the same dependency.

See also the CMAKE_REQUIRE_FIND_PACKAGE_<PackageName> variable.

Previous topic

CMAKE_DEPENDS_IN_PROJECT_ONLY

Next topic

CMAKE_ECLIPSE_GENERATE_LINKED_RESOURCES

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_DISABLE_FIND_PACKAGE_<PackageName>

        © 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_DISABLE_PRECOMPILE_HEADERS — 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_DLL_NAME_WITH_SOVERSION" href="CMAKE_DLL_NAME_WITH_SOVERSION.html" />
    <link rel="prev" title="CMAKE_DEPENDS_USE_COMPILER" href="CMAKE_DEPENDS_USE_COMPILER.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_DISABLE_PRECOMPILE_HEADERS

CMAKE_DISABLE_PRECOMPILE_HEADERS¶

New in version 3.16.

Default value for DISABLE_PRECOMPILE_HEADERS of targets.

By default CMAKE_DISABLE_PRECOMPILE_HEADERS is OFF.

Previous topic

CMAKE_DEPENDS_USE_COMPILER

Next topic

CMAKE_DLL_NAME_WITH_SOVERSION

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_DISABLE_PRECOMPILE_HEADERS

        © 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_DLL_NAME_WITH_SOVERSION — 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_ENABLE_EXPORTS" href="CMAKE_ENABLE_EXPORTS.html" />
    <link rel="prev" title="CMAKE_DISABLE_PRECOMPILE_HEADERS" href="CMAKE_DISABLE_PRECOMPILE_HEADERS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_DLL_NAME_WITH_SOVERSION

CMAKE_DLL_NAME_WITH_SOVERSION¶

New in version 3.27.

This variable is used to initialize the DLL_NAME_WITH_SOVERSION
property on shared library targets for the Windows platform, which is selected
when the WIN32 variable is set.

See this target property for additional information.

Please note that setting this variable has no effect if versioned filenames
are globally disabled with the CMAKE_PLATFORM_NO_VERSIONED_SONAME
variable.

Previous topic

CMAKE_DISABLE_PRECOMPILE_HEADERS

Next topic

CMAKE_ENABLE_EXPORTS

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_DLL_NAME_WITH_SOVERSION

        © 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_DL_LIBS — 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_DOTNET_SDK" href="CMAKE_DOTNET_SDK.html" />
    <link rel="prev" title="CMAKE_DIRECTORY_LABELS" href="CMAKE_DIRECTORY_LABELS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_DL_LIBS

CMAKE_DL_LIBS¶

Name of library containing dlopen and dlclose.

The name of the library that has dlopen and dlclose in it, usually
-ldl on most UNIX machines.

Previous topic

CMAKE_DIRECTORY_LABELS

Next topic

CMAKE_DOTNET_SDK

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_DL_LIBS

        © 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_DOTNET_SDK — 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_DOTNET_TARGET_FRAMEWORK" href="CMAKE_DOTNET_TARGET_FRAMEWORK.html" />
    <link rel="prev" title="CMAKE_DL_LIBS" href="CMAKE_DL_LIBS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_DOTNET_SDK

CMAKE_DOTNET_SDK¶

New in version 3.23.

Default value for DOTNET_SDK property of targets.

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

Previous topic

CMAKE_DL_LIBS

Next topic

CMAKE_DOTNET_TARGET_FRAMEWORK

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_DOTNET_SDK

        © 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_DOTNET_TARGET_FRAMEWORK — 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_DOTNET_TARGET_FRAMEWORK_VERSION" href="CMAKE_DOTNET_TARGET_FRAMEWORK_VERSION.html" />
    <link rel="prev" title="CMAKE_DOTNET_SDK" href="CMAKE_DOTNET_SDK.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_DOTNET_TARGET_FRAMEWORK

CMAKE_DOTNET_TARGET_FRAMEWORK¶

New in version 3.17.

Default value for DOTNET_TARGET_FRAMEWORK property  of
targets.

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

Setting CMAKE_DOTNET_TARGET_FRAMEWORK may be necessary
when working with C# and newer .NET framework versions to
avoid referencing errors with the ALL_BUILD CMake target.

This variable is only evaluated for Visual Studio Generators
VS 2010 and above.

Previous topic

CMAKE_DOTNET_SDK

Next topic

CMAKE_DOTNET_TARGET_FRAMEWORK_VERSION

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_DOTNET_TARGET_FRAMEWORK

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_DOTNET_TARGET_FRAMEWORK_VERSION

CMAKE_DOTNET_TARGET_FRAMEWORK_VERSION¶

New in version 3.12.

Default value for DOTNET_TARGET_FRAMEWORK_VERSION
property of targets.

This variable is used to initialize the
DOTNET_TARGET_FRAMEWORK_VERSION property on all
targets. See that target property for additional information. When set,
CMAKE_DOTNET_TARGET_FRAMEWORK takes precednece over this
variable. See that variable or the associated target property
DOTNET_TARGET_FRAMEWORK for additional information.

Setting CMAKE_DOTNET_TARGET_FRAMEWORK_VERSION may be necessary
when working with C# and newer .NET framework versions to
avoid referencing errors with the ALL_BUILD CMake target.

This variable is only evaluated for Visual Studio Generators
VS 2010 and above.

Previous topic

CMAKE_DOTNET_TARGET_FRAMEWORK

Next topic

CMAKE_EDIT_COMMAND

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_DOTNET_TARGET_FRAMEWORK_VERSION

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_ECLIPSE_GENERATE_LINKED_RESOURCES — 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_ECLIPSE_GENERATE_SOURCE_PROJECT" href="CMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT.html" />
    <link rel="prev" title="CMAKE_DISABLE_FIND_PACKAGE_<PackageName>" href="CMAKE_DISABLE_FIND_PACKAGE_PackageName.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_ECLIPSE_GENERATE_LINKED_RESOURCES

CMAKE_ECLIPSE_GENERATE_LINKED_RESOURCES¶

New in version 3.6.

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

The Eclipse project generator generates so-called linked resources
e.g. to the subproject root dirs in the source tree or to the source files
of targets.
This can be disabled by setting this variable to FALSE.

Previous topic

CMAKE_DISABLE_FIND_PACKAGE_<PackageName>

Next topic

CMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_ECLIPSE_GENERATE_LINKED_RESOURCES

        © 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_ECLIPSE_GENERATE_SOURCE_PROJECT — 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_ECLIPSE_MAKE_ARGUMENTS" href="CMAKE_ECLIPSE_MAKE_ARGUMENTS.html" />
    <link rel="prev" title="CMAKE_ECLIPSE_GENERATE_LINKED_RESOURCES" href="CMAKE_ECLIPSE_GENERATE_LINKED_RESOURCES.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT

CMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT¶

New in version 3.6.

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

If this variable is set to TRUE, the Eclipse project generator will generate
an Eclipse project in CMAKE_SOURCE_DIR . This project can then
be used in Eclipse e.g. for the version control functionality.
CMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT defaults to FALSE; so
nothing is written into the source directory.

Previous topic

CMAKE_ECLIPSE_GENERATE_LINKED_RESOURCES

Next topic

CMAKE_ECLIPSE_MAKE_ARGUMENTS

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_ECLIPSE_MAKE_ARGUMENTS

CMAKE_ECLIPSE_MAKE_ARGUMENTS¶

New in version 3.6.

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

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

Previous topic

CMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT

Next topic

CMAKE_ECLIPSE_RESOURCE_ENCODING

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_ECLIPSE_MAKE_ARGUMENTS

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_ECLIPSE_RESOURCE_ENCODING — 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_ECLIPSE_VERSION" href="CMAKE_ECLIPSE_VERSION.html" />
    <link rel="prev" title="CMAKE_ECLIPSE_MAKE_ARGUMENTS" href="CMAKE_ECLIPSE_MAKE_ARGUMENTS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_ECLIPSE_RESOURCE_ENCODING

CMAKE_ECLIPSE_RESOURCE_ENCODING¶

New in version 3.16.

This cache variable tells the Eclipse CDT4 project generator
to set the resource encoding to the given value in generated project files.
If no value is given, no encoding will be set.

Previous topic

CMAKE_ECLIPSE_MAKE_ARGUMENTS

Next topic

CMAKE_ECLIPSE_VERSION

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_ECLIPSE_RESOURCE_ENCODING

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_ECLIPSE_VERSION

CMAKE_ECLIPSE_VERSION¶

New in version 3.6.

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

When using the Eclipse project generator, CMake tries to find the Eclipse
executable and detect the version of it. Depending on the version it finds,
some features are enabled or disabled. If CMake doesn't find
Eclipse, it assumes the oldest supported version, Eclipse Callisto (3.2).

Previous topic

CMAKE_ECLIPSE_RESOURCE_ENCODING

Next topic

CMAKE_ERROR_DEPRECATED

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_ECLIPSE_VERSION

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


code:
<!DOCTYPE html>

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

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_EDIT_COMMAND

CMAKE_EDIT_COMMAND¶

Full path to cmake-gui(1) or ccmake(1).  Defined only for
Makefile Generators and Ninja Generators when not using any
Extra Generators.

This is the full path to the CMake executable that can graphically
edit the cache.  For example, cmake-gui(1) or ccmake(1).

Previous topic

CMAKE_DOTNET_TARGET_FRAMEWORK_VERSION

Next topic

CMAKE_EXECUTABLE_SUFFIX

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_EDIT_COMMAND

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_ENABLE_EXPORTS — 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_EXECUTABLE_ENABLE_EXPORTS" href="CMAKE_EXECUTABLE_ENABLE_EXPORTS.html" />
    <link rel="prev" title="CMAKE_DLL_NAME_WITH_SOVERSION" href="CMAKE_DLL_NAME_WITH_SOVERSION.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_ENABLE_EXPORTS

CMAKE_ENABLE_EXPORTS¶

New in version 3.4.

Specify whether executables export symbols for loadable modules.

This variable is used to initialize the ENABLE_EXPORTS target
property for executable targets when they are created by calls to the
add_executable() command.  See the property documentation for details.

This variable has been superseded by the
CMAKE_EXECUTABLE_ENABLE_EXPORTS variable.  It is provided for
backward compatibility with older CMake code, but should not be used in new
projects.

Previous topic

CMAKE_DLL_NAME_WITH_SOVERSION

Next topic

CMAKE_EXECUTABLE_ENABLE_EXPORTS

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_ENABLE_EXPORTS

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_ERROR_DEPRECATED

CMAKE_ERROR_DEPRECATED¶

Whether to issue errors for deprecated functionality.

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

Previous topic

CMAKE_ECLIPSE_VERSION

Next topic

CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_ERROR_DEPRECATED

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


code:
<!DOCTYPE html>

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

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION

CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION¶

Ask cmake_install.cmake script to error out as soon as a file with
absolute INSTALL DESTINATION is encountered.

The fatal error is emitted before the installation of the offending
file takes place.  This variable is used by CMake-generated
cmake_install.cmake scripts.  If one sets this variable to ON while
running the script, it may get fatal error messages from the script.

Previous topic

CMAKE_ERROR_DEPRECATED

Next topic

CMAKE_EXECUTE_PROCESS_COMMAND_ECHO

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_EXECUTABLE_ENABLE_EXPORTS — 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_EXE_LINKER_FLAGS" href="CMAKE_EXE_LINKER_FLAGS.html" />
    <link rel="prev" title="CMAKE_ENABLE_EXPORTS" href="CMAKE_ENABLE_EXPORTS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_EXECUTABLE_ENABLE_EXPORTS

CMAKE_EXECUTABLE_ENABLE_EXPORTS¶

New in version 3.27.

Specify whether executables export symbols for loadable modules.

This variable is used to initialize the ENABLE_EXPORTS target
property for executable targets when they are created by calls to the
add_executable() command.  See the property documentation for details.

This variable supersede the CMAKE_ENABLE_EXPORTS variable.

Previous topic

CMAKE_ENABLE_EXPORTS

Next topic

CMAKE_EXE_LINKER_FLAGS

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_EXECUTABLE_ENABLE_EXPORTS

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_EXECUTABLE_SUFFIX

CMAKE_EXECUTABLE_SUFFIX¶

The suffix for executables on this platform.

The suffix to use for the end of an executable filename if any, .exe
on Windows.

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

Previous topic

CMAKE_EDIT_COMMAND

Next topic

CMAKE_EXECUTABLE_SUFFIX_<LANG>

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_EXECUTABLE_SUFFIX

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_EXECUTABLE_SUFFIX_<LANG> — CMake 3.29.0-rc3 Documentation</title>

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_EXECUTABLE_SUFFIX_<LANG>

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

The suffix to use for the end of an executable filename of <LANG>
compiler target architecture, if any.

It overrides CMAKE_EXECUTABLE_SUFFIX for language <LANG>.

Previous topic

CMAKE_EXECUTABLE_SUFFIX

Next topic

CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_EXECUTABLE_SUFFIX_<LANG>

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_EXECUTE_PROCESS_COMMAND_ECHO — 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_EXPORT_COMPILE_COMMANDS" href="CMAKE_EXPORT_COMPILE_COMMANDS.html" />
    <link rel="prev" title="CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION" href="CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_EXECUTE_PROCESS_COMMAND_ECHO

CMAKE_EXECUTE_PROCESS_COMMAND_ECHO¶

New in version 3.15.

If this variable is set to STDERR, STDOUT or NONE then commands
in execute_process() calls will be printed to either stderr or
stdout or not at all.

Previous topic

CMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION

Next topic

CMAKE_EXPORT_COMPILE_COMMANDS

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_EXECUTE_PROCESS_COMMAND_ECHO

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_EXE_LINKER_FLAGS

CMAKE_EXE_LINKER_FLAGS¶

Linker flags to be used to create executables.

These flags will be used by the linker when creating an executable.

Previous topic

CMAKE_EXECUTABLE_ENABLE_EXPORTS

Next topic

CMAKE_EXE_LINKER_FLAGS_<CONFIG>

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_EXE_LINKER_FLAGS

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_EXE_LINKER_FLAGS_<CONFIG> — CMake 3.29.0-rc3 Documentation</title>

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

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_EXE_LINKER_FLAGS_<CONFIG>_INIT" href="CMAKE_EXE_LINKER_FLAGS_CONFIG_INIT.html" />
    <link rel="prev" title="CMAKE_EXE_LINKER_FLAGS" href="CMAKE_EXE_LINKER_FLAGS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_EXE_LINKER_FLAGS_<CONFIG>

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

Flags to be used when linking an executable.

Same as CMAKE_C_FLAGS_* but used by the linker when creating
executables.

Previous topic

CMAKE_EXE_LINKER_FLAGS

Next topic

CMAKE_EXE_LINKER_FLAGS_<CONFIG>_INIT

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_EXE_LINKER_FLAGS_<CONFIG>

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_EXE_LINKER_FLAGS_<CONFIG>_INIT — CMake 3.29.0-rc3 Documentation</title>

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_EXE_LINKER_FLAGS_<CONFIG>_INIT

<span id="variable:CMAKE_EXE_LINKER_FLAGS_<CONFIG>_INIT">
CMAKE_EXE_LINKER_FLAGS_<CONFIG>_INIT¶

New in version 3.7.

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

See also CMAKE_EXE_LINKER_FLAGS_INIT.

Previous topic

CMAKE_EXE_LINKER_FLAGS_<CONFIG>

Next topic

CMAKE_EXE_LINKER_FLAGS_INIT

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_EXE_LINKER_FLAGS_<CONFIG>_INIT

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

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

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_EXPORT_FIND_PACKAGE_NAME" href="CMAKE_EXPORT_FIND_PACKAGE_NAME.html" />
    <link rel="prev" title="CMAKE_EXE_LINKER_FLAGS_<CONFIG>_INIT" href="CMAKE_EXE_LINKER_FLAGS_CONFIG_INIT.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_EXE_LINKER_FLAGS_INIT

CMAKE_EXE_LINKER_FLAGS_INIT¶

New in version 3.7.

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

See also the configuration-specific variable
CMAKE_EXE_LINKER_FLAGS_<CONFIG>_INIT.

Previous topic

CMAKE_EXE_LINKER_FLAGS_<CONFIG>_INIT

Next topic

CMAKE_EXPORT_FIND_PACKAGE_NAME

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_EXE_LINKER_FLAGS_INIT

        © 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_EXPORT_COMPILE_COMMANDS — 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_EXPORT_PACKAGE_REGISTRY" href="CMAKE_EXPORT_PACKAGE_REGISTRY.html" />
    <link rel="prev" title="CMAKE_EXECUTE_PROCESS_COMMAND_ECHO" href="CMAKE_EXECUTE_PROCESS_COMMAND_ECHO.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_EXPORT_COMPILE_COMMANDS

CMAKE_EXPORT_COMPILE_COMMANDS¶

New in version 3.5.

Enable/Disable output of compile commands during generation.

If enabled, generates a compile_commands.json file containing the exact
compiler calls for all translation units of the project in machine-readable
form.  The format of the JSON file looks like:

[
  {
    "directory": "/home/user/development/project",
    "command": "/usr/bin/c++ ... -c ../foo/foo.cc",
    "file": "../foo/foo.cc",
    "output": "../foo.dir/foo.cc.o"
  },

  ...

  {
    "directory": "/home/user/development/project",
    "command": "/usr/bin/c++ ... -c ../foo/bar.cc",
    "file": "../foo/bar.cc",
    "output": "../foo.dir/bar.cc.o"
  }
]

This is initialized by the CMAKE_EXPORT_COMPILE_COMMANDS environment
variable, and initializes the EXPORT_COMPILE_COMMANDS target
property for all targets.

Note

This option is implemented only by Makefile Generators
and Ninja Generators.  It is ignored on other generators.

This option currently does not work well in combination with
the UNITY_BUILD target property or the
CMAKE_UNITY_BUILD variable.

Previous topic

CMAKE_EXECUTE_PROCESS_COMMAND_ECHO

Next topic

CMAKE_EXPORT_PACKAGE_REGISTRY

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_EXPORT_COMPILE_COMMANDS

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_EXPORT_FIND_PACKAGE_NAME

CMAKE_EXPORT_FIND_PACKAGE_NAME¶

New in version 3.29.

Initializes the value of EXPORT_FIND_PACKAGE_NAME.

Previous topic

CMAKE_EXE_LINKER_FLAGS_INIT

Next topic

CMAKE_FOLDER

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_EXPORT_FIND_PACKAGE_NAME

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_EXPORT_NO_PACKAGE_REGISTRY — 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_FIND_APPBUNDLE" href="CMAKE_FIND_APPBUNDLE.html" />
    <link rel="prev" title="CMAKE_EXPORT_PACKAGE_REGISTRY" href="CMAKE_EXPORT_PACKAGE_REGISTRY.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_EXPORT_NO_PACKAGE_REGISTRY

CMAKE_EXPORT_NO_PACKAGE_REGISTRY¶

New in version 3.1.

Disable the export(PACKAGE) command when CMP0090
is not set to NEW.

In some cases, for example for packaging and for system wide
installations, it is not desirable to write the user package registry.
If the CMAKE_EXPORT_NO_PACKAGE_REGISTRY variable is enabled,
the export(PACKAGE) command will do nothing.

If CMP0090 is set to NEW this variable does nothing, and the
CMAKE_EXPORT_PACKAGE_REGISTRY variable controls the behavior
instead.

See also Disabling the Package Registry.

Previous topic

CMAKE_EXPORT_PACKAGE_REGISTRY

Next topic

CMAKE_FIND_APPBUNDLE

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_EXPORT_NO_PACKAGE_REGISTRY

        © 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_EXPORT_PACKAGE_REGISTRY — 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_EXPORT_NO_PACKAGE_REGISTRY" href="CMAKE_EXPORT_NO_PACKAGE_REGISTRY.html" />
    <link rel="prev" title="CMAKE_EXPORT_COMPILE_COMMANDS" href="CMAKE_EXPORT_COMPILE_COMMANDS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_EXPORT_PACKAGE_REGISTRY

CMAKE_EXPORT_PACKAGE_REGISTRY¶

New in version 3.15.

Enables the export(PACKAGE) command when CMP0090
is set to NEW.

The export(PACKAGE) command does nothing by default.  In some cases
it is desirable to write to the user package registry, so the
CMAKE_EXPORT_PACKAGE_REGISTRY variable may be set to enable it.

If CMP0090 is not set to NEW this variable does nothing, and
the CMAKE_EXPORT_NO_PACKAGE_REGISTRY variable controls the behavior
instead.

See also Disabling the Package Registry.

Previous topic

CMAKE_EXPORT_COMPILE_COMMANDS

Next topic

CMAKE_EXPORT_NO_PACKAGE_REGISTRY

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_EXPORT_PACKAGE_REGISTRY

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