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_PROJECT_HOMEPAGE_URL — 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_PROJECT_NAME" href="CMAKE_PROJECT_NAME.html" />
    <link rel="prev" title="CMAKE_PROJECT_DESCRIPTION" href="CMAKE_PROJECT_DESCRIPTION.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_PROJECT_HOMEPAGE_URL

CMAKE_PROJECT_HOMEPAGE_URL¶

New in version 3.12.

The homepage URL of the top level project.

This variable holds the homepage URL of the project as specified in the top
level CMakeLists.txt file by a project() command.  In the event that
the top level CMakeLists.txt contains multiple project() calls,
the most recently called one from that top level CMakeLists.txt will determine
the value that CMAKE_PROJECT_HOMEPAGE_URL contains.  For example, consider
the following top level CMakeLists.txt:

cmake_minimum_required(VERSION 3.0)
project(First HOMEPAGE_URL "http://first.example.com")
project(Second HOMEPAGE_URL "http://second.example.com")
add_subdirectory(sub)
project(Third HOMEPAGE_URL "http://third.example.com")

And sub/CMakeLists.txt with the following contents:

project(SubProj HOMEPAGE_URL "http://subproj.example.com")
message("CMAKE_PROJECT_HOMEPAGE_URL = ${CMAKE_PROJECT_HOMEPAGE_URL}")

The most recently seen project() command from the top level
CMakeLists.txt would be project(Second ...), so this will print:

CMAKE_PROJECT_HOMEPAGE_URL = http://second.example.com

To obtain the homepage URL from the most recent call to project() in
the current directory scope or above, see the PROJECT_HOMEPAGE_URL
variable.

Previous topic

CMAKE_PROJECT_DESCRIPTION

Next topic

CMAKE_PROJECT_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_PROJECT_HOMEPAGE_URL

        © 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_PROJECT_INCLUDE — 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_PROJECT_INCLUDE_BEFORE" href="CMAKE_PROJECT_INCLUDE_BEFORE.html" />
    <link rel="prev" title="CMAKE_PROGRAM_PATH" href="CMAKE_PROGRAM_PATH.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_PROJECT_INCLUDE

CMAKE_PROJECT_INCLUDE¶

New in version 3.15.

A CMake language file to be included as the last step of all
project() command calls.  This is intended for injecting custom code
into project builds without modifying their source.  See Code Injection
for a more detailed discussion of files potentially included during a
project() call.

New in version 3.29: This variable can be a semicolon-separated list
of CMake language files to be included sequentially. It can also now refer to
module names to be found in CMAKE_MODULE_PATH or builtin to CMake.

See also the CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE,
CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE_BEFORE,
CMAKE_PROJECT_INCLUDE_BEFORE, and
CMAKE_PROJECT_TOP_LEVEL_INCLUDES variables.

Previous topic

CMAKE_PROGRAM_PATH

Next topic

CMAKE_PROJECT_INCLUDE_BEFORE

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_PROJECT_INCLUDE

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

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

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE" href="CMAKE_PROJECT_PROJECT-NAME_INCLUDE.html" />
    <link rel="prev" title="CMAKE_PROJECT_INCLUDE" href="CMAKE_PROJECT_INCLUDE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_PROJECT_INCLUDE_BEFORE

CMAKE_PROJECT_INCLUDE_BEFORE¶

New in version 3.15.

A CMake language file to be included as the first step of all
project() command calls.  This is intended for injecting custom code
into project builds without modifying their source.  See Code Injection
for a more detailed discussion of files potentially included during a
project() call.

New in version 3.29: This variable can be a semicolon-separated list
of CMake language files to be included sequentially. It can also now refer to
module names to be found in CMAKE_MODULE_PATH or builtin to CMake.

See also the CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE,
CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE_BEFORE,
CMAKE_PROJECT_INCLUDE, and
CMAKE_PROJECT_TOP_LEVEL_INCLUDES variables.

Previous topic

CMAKE_PROJECT_INCLUDE

Next topic

CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE

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_PROJECT_INCLUDE_BEFORE

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_PROJECT_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_PROJECT_VERSION" href="CMAKE_PROJECT_VERSION.html" />
    <link rel="prev" title="CMAKE_PROJECT_HOMEPAGE_URL" href="CMAKE_PROJECT_HOMEPAGE_URL.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_PROJECT_NAME

CMAKE_PROJECT_NAME¶

The name of the top level project.

This variable holds the name of the project as specified in the top
level CMakeLists.txt file by a project() command.  In the event that
the top level CMakeLists.txt contains multiple project() calls,
the most recently called one from that top level CMakeLists.txt will determine
the name that CMAKE_PROJECT_NAME contains.  For example, consider
the following top level CMakeLists.txt:

cmake_minimum_required(VERSION 3.0)
project(First)
project(Second)
add_subdirectory(sub)
project(Third)

And sub/CMakeLists.txt with the following contents:

project(SubProj)
message("CMAKE_PROJECT_NAME = ${CMAKE_PROJECT_NAME}")

The most recently seen project() command from the top level
CMakeLists.txt would be project(Second), so this will print:

CMAKE_PROJECT_NAME = Second

To obtain the name from the most recent call to project() in
the current directory scope or above, see the PROJECT_NAME
variable.

Previous topic

CMAKE_PROJECT_HOMEPAGE_URL

Next topic

CMAKE_PROJECT_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_PROJECT_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_PROJECT_<PROJECT-NAME>_INCLUDE — 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_PROJECT_<PROJECT-NAME>_INCLUDE_BEFORE" href="CMAKE_PROJECT_PROJECT-NAME_INCLUDE_BEFORE.html" />
    <link rel="prev" title="CMAKE_PROJECT_INCLUDE_BEFORE" href="CMAKE_PROJECT_INCLUDE_BEFORE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE

<span id="variable:CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE">
CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE¶

A CMake language file to be included as the last step of any
project() command calls that specify <PROJECT-NAME> as the project
name.  This is intended for injecting custom code into project builds without
modifying their source.  See Code Injection for a more detailed
discussion of files potentially included during a project() call.

New in version 3.29: This variable can be a semicolon-separated list
of CMake language files to be included sequentially. It can also now refer to
module names to be found in CMAKE_MODULE_PATH or builtin to CMake.

See also the CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE_BEFORE,
CMAKE_PROJECT_INCLUDE, CMAKE_PROJECT_INCLUDE_BEFORE,
and CMAKE_PROJECT_TOP_LEVEL_INCLUDES variables.

Previous topic

CMAKE_PROJECT_INCLUDE_BEFORE

Next topic

CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE_BEFORE

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE

        © 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_PROJECT_<PROJECT-NAME>_INCLUDE_BEFORE — CMake 3.29.0-rc3 Documentation</title>

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

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="CMAKE_PROJECT_TOP_LEVEL_INCLUDES" href="CMAKE_PROJECT_TOP_LEVEL_INCLUDES.html" />
    <link rel="prev" title="CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE" href="CMAKE_PROJECT_PROJECT-NAME_INCLUDE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE_BEFORE

<span id="variable:CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE_BEFORE">
CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE_BEFORE¶

New in version 3.17.

A CMake language file to be included as the first step of any
project() command calls that specify <PROJECT-NAME> as the project
name.  This is intended for injecting custom code into project builds without
modifying their source.  See Code Injection for a more detailed
discussion of files potentially included during a project() call.

New in version 3.29: This variable can be a semicolon-separated list
of CMake language files to be included sequentially. It can also now refer to
module names to be found in CMAKE_MODULE_PATH or builtin to CMake.

See also the CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE,
CMAKE_PROJECT_INCLUDE, CMAKE_PROJECT_INCLUDE_BEFORE,
and CMAKE_PROJECT_TOP_LEVEL_INCLUDES variables.

Previous topic

CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE

Next topic

CMAKE_PROJECT_TOP_LEVEL_INCLUDES

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_PROJECT_<PROJECT-NAME>_INCLUDE_BEFORE

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_PROJECT_TOP_LEVEL_INCLUDES — 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_REQUIRE_FIND_PACKAGE_<PackageName>" href="CMAKE_REQUIRE_FIND_PACKAGE_PackageName.html" />
    <link rel="prev" title="CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE_BEFORE" href="CMAKE_PROJECT_PROJECT-NAME_INCLUDE_BEFORE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_PROJECT_TOP_LEVEL_INCLUDES

CMAKE_PROJECT_TOP_LEVEL_INCLUDES¶

New in version 3.24.

Semicolon-separated list of CMake language
files to include as part of the very first project() call.
The files will be included immediately after the toolchain file has been read
(if one is specified) and platform variables have been set, but before any
languages have been enabled. Therefore, language-specific variables,
including things like CMAKE_<LANG>_COMPILER, might not be set.
See Code Injection for a more detailed discussion of files potentially
included during a project() call.

New in version 3.29: This variable can also now refer to module names to be found in
CMAKE_MODULE_PATH or builtin to CMake.

This variable is intended for specifying files that perform one-time setup
for the build. It provides an injection point for things like configuring
package managers, adding logic the user shares between projects (e.g. defining
their own custom build types), and so on. It is primarily for users to add
things specific to their environment, but not for specifying the toolchain
details (use CMAKE_TOOLCHAIN_FILE for that).

By default, this variable is empty.  It is intended to be set by the user.

See also the CMAKE_PROJECT_INCLUDE,
CMAKE_PROJECT_INCLUDE_BEFORE,
CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE, and
CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE_BEFORE variables.

Previous topic

CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE_BEFORE

Next topic

CMAKE_REQUIRE_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_PROJECT_TOP_LEVEL_INCLUDES

        © 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_PROJECT_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_PROJECT_VERSION_MAJOR" href="CMAKE_PROJECT_VERSION_MAJOR.html" />
    <link rel="prev" title="CMAKE_PROJECT_NAME" href="CMAKE_PROJECT_NAME.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_PROJECT_VERSION

CMAKE_PROJECT_VERSION¶

New in version 3.12.

The version of the top level project.

This variable holds the version of the project as specified in the top
level CMakeLists.txt file by a project() command.  In the event that
the top level CMakeLists.txt contains multiple project() calls,
the most recently called one from that top level CMakeLists.txt will determine
the value that CMAKE_PROJECT_VERSION contains.  For example, consider
the following top level CMakeLists.txt:

cmake_minimum_required(VERSION 3.0)
project(First VERSION 1.2.3)
project(Second VERSION 3.4.5)
add_subdirectory(sub)
project(Third VERSION 6.7.8)

And sub/CMakeLists.txt with the following contents:

project(SubProj VERSION 1)
message("CMAKE_PROJECT_VERSION = ${CMAKE_PROJECT_VERSION}")

The most recently seen project() command from the top level
CMakeLists.txt would be project(Second ...), so this will print:

CMAKE_PROJECT_VERSION = 3.4.5

To obtain the version from the most recent call to project() in
the current directory scope or above, see the PROJECT_VERSION
variable.

Previous topic

CMAKE_PROJECT_NAME

Next topic

CMAKE_PROJECT_VERSION_MAJOR

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_PROJECT_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_PROJECT_VERSION_MAJOR — 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_PROJECT_VERSION_MINOR" href="CMAKE_PROJECT_VERSION_MINOR.html" />
    <link rel="prev" title="CMAKE_PROJECT_VERSION" href="CMAKE_PROJECT_VERSION.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_PROJECT_VERSION_MAJOR

CMAKE_PROJECT_VERSION_MAJOR¶

New in version 3.12.

The major version of the top level project.

This variable holds the major version of the project as specified in the top
level CMakeLists.txt file by a project() command. Please see
CMAKE_PROJECT_VERSION documentation for the behavior when
multiple project() commands are used in the sources.

Previous topic

CMAKE_PROJECT_VERSION

Next topic

CMAKE_PROJECT_VERSION_MINOR

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_PROJECT_VERSION_MAJOR

        © 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_PROJECT_VERSION_MINOR — 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_PROJECT_VERSION_PATCH" href="CMAKE_PROJECT_VERSION_PATCH.html" />
    <link rel="prev" title="CMAKE_PROJECT_VERSION_MAJOR" href="CMAKE_PROJECT_VERSION_MAJOR.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_PROJECT_VERSION_MINOR

CMAKE_PROJECT_VERSION_MINOR¶

New in version 3.12.

The minor version of the top level project.

This variable holds the minor version of the project as specified in the top
level CMakeLists.txt file by a project() command. Please see
CMAKE_PROJECT_VERSION documentation for the behavior when
multiple project() commands are used in the sources.

Previous topic

CMAKE_PROJECT_VERSION_MAJOR

Next topic

CMAKE_PROJECT_VERSION_PATCH

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_PROJECT_VERSION_MINOR

        © 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_PROJECT_VERSION_PATCH — 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_PROJECT_VERSION_TWEAK" href="CMAKE_PROJECT_VERSION_TWEAK.html" />
    <link rel="prev" title="CMAKE_PROJECT_VERSION_MINOR" href="CMAKE_PROJECT_VERSION_MINOR.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_PROJECT_VERSION_PATCH

CMAKE_PROJECT_VERSION_PATCH¶

New in version 3.12.

The patch version of the top level project.

This variable holds the patch version of the project as specified in the top
level CMakeLists.txt file by a project() command. Please see
CMAKE_PROJECT_VERSION documentation for the behavior when
multiple project() commands are used in the sources.

Previous topic

CMAKE_PROJECT_VERSION_MINOR

Next topic

CMAKE_PROJECT_VERSION_TWEAK

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_PROJECT_VERSION_PATCH

        © 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_PROJECT_VERSION_TWEAK — 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_RANLIB" href="CMAKE_RANLIB.html" />
    <link rel="prev" title="CMAKE_PROJECT_VERSION_PATCH" href="CMAKE_PROJECT_VERSION_PATCH.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_PROJECT_VERSION_TWEAK

CMAKE_PROJECT_VERSION_TWEAK¶

New in version 3.12.

The tweak version of the top level project.

This variable holds the tweak version of the project as specified in the top
level CMakeLists.txt file by a project() command. Please see
CMAKE_PROJECT_VERSION documentation for the behavior when
multiple project() commands are used in the sources.

Previous topic

CMAKE_PROJECT_VERSION_PATCH

Next topic

CMAKE_RANLIB

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_PROJECT_VERSION_TWEAK

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_RANLIB

CMAKE_RANLIB¶

Name of randomizing tool for static libraries.

This specifies name of the program that randomizes libraries on UNIX,
not used on Windows, but may be present.

Previous topic

CMAKE_PROJECT_VERSION_TWEAK

Next topic

CMAKE_ROOT

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_RANLIB

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_REQUIRE_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_SKIP_INSTALL_ALL_DEPENDENCY" href="CMAKE_SKIP_INSTALL_ALL_DEPENDENCY.html" />
    <link rel="prev" title="CMAKE_PROJECT_TOP_LEVEL_INCLUDES" href="CMAKE_PROJECT_TOP_LEVEL_INCLUDES.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_REQUIRE_FIND_PACKAGE_<PackageName>

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

New in version 3.22.

Variable for making find_package() call REQUIRED.

Every non-REQUIRED find_package() call in a project can be
turned into REQUIRED by setting the variable
CMAKE_REQUIRE_FIND_PACKAGE_<PackageName> to TRUE.
This can be used to assert assumptions about build environment and to
ensure the build will fail early if they do not hold.

Note that setting this variable to true breaks some commonly used patterns.
Multiple calls to find_package() are sometimes used to obtain a
different search order to the default.
For example, projects can force checking a known path for a particular
package first before searching any of the other default search paths:

find_package(something PATHS /some/local/path NO_DEFAULT_PATH)
find_package(something)

In the above, the first call looks for the something package in a specific
directory.  If CMAKE_REQUIRE_FIND_PACKAGE_something is set to true, then
this first call must succeed, otherwise a fatal error occurs.  The second call
never gets a chance to provide a fall-back to using the default search
locations.

A similar pattern is used even by some of CMake's own Find modules to search
for a config package first:

find_package(something CONFIG QUIET)
if(NOT something_FOUND)
  # Fall back to searching using typical Find module logic...
endif()

Again, if CMAKE_REQUIRE_FIND_PACKAGE_something is true, the first call
must succeed.  It effectively means a config package must be found for the
dependency, and the Find module logic is never used.

See also the CMAKE_DISABLE_FIND_PACKAGE_<PackageName> variable.

Previous topic

CMAKE_PROJECT_TOP_LEVEL_INCLUDES

Next topic

CMAKE_SKIP_INSTALL_ALL_DEPENDENCY

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_REQUIRE_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_ROOT — CMake 3.29.0-rc3 Documentation</title>

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_ROOT

CMAKE_ROOT¶

Install directory for running cmake.

This is the install root for the running CMake and the Modules
directory can be found here.  This is commonly used in this format:
${CMAKE_ROOT}/Modules

Previous topic

CMAKE_RANLIB

Next topic

CMAKE_RULE_MESSAGES

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_ROOT

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_RULE_MESSAGES — 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_SCRIPT_MODE_FILE" href="CMAKE_SCRIPT_MODE_FILE.html" />
    <link rel="prev" title="CMAKE_ROOT" href="CMAKE_ROOT.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_RULE_MESSAGES

CMAKE_RULE_MESSAGES¶

New in version 3.13.

Specify whether to report a message for each make rule.

If set in the cache it is used to initialize the value of the RULE_MESSAGES property.
Users may disable the option in their local build tree to disable granular messages
and report only as each target completes in Makefile builds.

Previous topic

CMAKE_ROOT

Next topic

CMAKE_SCRIPT_MODE_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_RULE_MESSAGES

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_RUNTIME_OUTPUT_DIRECTORY

CMAKE_RUNTIME_OUTPUT_DIRECTORY¶

Where to put all the RUNTIME
target files when built.

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

Previous topic

CMAKE_POSITION_INDEPENDENT_CODE

Next topic

CMAKE_RUNTIME_OUTPUT_DIRECTORY_<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_RUNTIME_OUTPUT_DIRECTORY

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_RUNTIME_OUTPUT_DIRECTORY_<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_SHARED_LIBRARY_ENABLE_EXPORTS" href="CMAKE_SHARED_LIBRARY_ENABLE_EXPORTS.html" />
    <link rel="prev" title="CMAKE_RUNTIME_OUTPUT_DIRECTORY" href="CMAKE_RUNTIME_OUTPUT_DIRECTORY.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_RUNTIME_OUTPUT_DIRECTORY_<CONFIG>

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

New in version 3.3.

Where to put all the RUNTIME
target files when built for a specific configuration.

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

Previous topic

CMAKE_RUNTIME_OUTPUT_DIRECTORY

Next topic

CMAKE_SHARED_LIBRARY_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_RUNTIME_OUTPUT_DIRECTORY_<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_SCRIPT_MODE_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_SHARED_LIBRARY_PREFIX" href="CMAKE_SHARED_LIBRARY_PREFIX.html" />
    <link rel="prev" title="CMAKE_RULE_MESSAGES" href="CMAKE_RULE_MESSAGES.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SCRIPT_MODE_FILE

CMAKE_SCRIPT_MODE_FILE¶

Full path to the cmake -P script file currently being
processed.

When run in cmake -P script mode, CMake sets this variable to
the full path of the script file.  When run to configure a CMakeLists.txt
file, this variable is not set.

Previous topic

CMAKE_RULE_MESSAGES

Next topic

CMAKE_SHARED_LIBRARY_PREFIX

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SCRIPT_MODE_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_SHARED_LIBRARY_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_SHARED_LINKER_FLAGS" href="CMAKE_SHARED_LINKER_FLAGS.html" />
    <link rel="prev" title="CMAKE_RUNTIME_OUTPUT_DIRECTORY_<CONFIG>" href="CMAKE_RUNTIME_OUTPUT_DIRECTORY_CONFIG.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SHARED_LIBRARY_ENABLE_EXPORTS

CMAKE_SHARED_LIBRARY_ENABLE_EXPORTS¶

New in version 3.27.

Specify whether shared library generates an import file.

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

Previous topic

CMAKE_RUNTIME_OUTPUT_DIRECTORY_<CONFIG>

Next topic

CMAKE_SHARED_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_SHARED_LIBRARY_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_SHARED_LIBRARY_PREFIX — CMake 3.29.0-rc3 Documentation</title>

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SHARED_LIBRARY_PREFIX

CMAKE_SHARED_LIBRARY_PREFIX¶

The prefix for shared libraries that you link to.

The prefix to use for the name of a shared library, lib on UNIX.

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

Previous topic

CMAKE_SCRIPT_MODE_FILE

Next topic

CMAKE_SHARED_LIBRARY_SUFFIX

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SHARED_LIBRARY_PREFIX

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


code:
<!DOCTYPE html>

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

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SHARED_LIBRARY_SUFFIX

CMAKE_SHARED_LIBRARY_SUFFIX¶

The suffix for shared libraries that you link to.

The suffix to use for the end of a shared library filename, .dll on
Windows.

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

Previous topic

CMAKE_SHARED_LIBRARY_PREFIX

Next topic

CMAKE_SHARED_MODULE_PREFIX

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SHARED_LIBRARY_SUFFIX

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_SHARED_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_SHARED_LINKER_FLAGS_<CONFIG>" href="CMAKE_SHARED_LINKER_FLAGS_CONFIG.html" />
    <link rel="prev" title="CMAKE_SHARED_LIBRARY_ENABLE_EXPORTS" href="CMAKE_SHARED_LIBRARY_ENABLE_EXPORTS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SHARED_LINKER_FLAGS

CMAKE_SHARED_LINKER_FLAGS¶

Linker flags to be used to create shared libraries.

These flags will be used by the linker when creating a shared library.

Previous topic

CMAKE_SHARED_LIBRARY_ENABLE_EXPORTS

Next topic

CMAKE_SHARED_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_SHARED_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_SHARED_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_SHARED_LINKER_FLAGS_<CONFIG>_INIT" href="CMAKE_SHARED_LINKER_FLAGS_CONFIG_INIT.html" />
    <link rel="prev" title="CMAKE_SHARED_LINKER_FLAGS" href="CMAKE_SHARED_LINKER_FLAGS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SHARED_LINKER_FLAGS_<CONFIG>

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

Flags to be used when linking a shared library.

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

Previous topic

CMAKE_SHARED_LINKER_FLAGS

Next topic

CMAKE_SHARED_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_SHARED_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_SHARED_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_SHARED_LINKER_FLAGS_INIT" href="CMAKE_SHARED_LINKER_FLAGS_INIT.html" />
    <link rel="prev" title="CMAKE_SHARED_LINKER_FLAGS_<CONFIG>" href="CMAKE_SHARED_LINKER_FLAGS_CONFIG.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SHARED_LINKER_FLAGS_<CONFIG>_INIT

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

New in version 3.7.

Value used to initialize the CMAKE_SHARED_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_SHARED_LINKER_FLAGS_INIT.

Previous topic

CMAKE_SHARED_LINKER_FLAGS_<CONFIG>

Next topic

CMAKE_SHARED_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_SHARED_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_SHARED_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_SKIP_BUILD_RPATH" href="CMAKE_SKIP_BUILD_RPATH.html" />
    <link rel="prev" title="CMAKE_SHARED_LINKER_FLAGS_<CONFIG>_INIT" href="CMAKE_SHARED_LINKER_FLAGS_CONFIG_INIT.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SHARED_LINKER_FLAGS_INIT

CMAKE_SHARED_LINKER_FLAGS_INIT¶

New in version 3.7.

Value used to initialize the CMAKE_SHARED_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_SHARED_LINKER_FLAGS_<CONFIG>_INIT.

Previous topic

CMAKE_SHARED_LINKER_FLAGS_<CONFIG>_INIT

Next topic

CMAKE_SKIP_BUILD_RPATH

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SHARED_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_SHARED_MODULE_PREFIX — CMake 3.29.0-rc3 Documentation</title>

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SHARED_MODULE_PREFIX

CMAKE_SHARED_MODULE_PREFIX¶

The prefix for loadable modules that you link to.

The prefix to use for the name of a loadable module on this platform.

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

Previous topic

CMAKE_SHARED_LIBRARY_SUFFIX

Next topic

CMAKE_SHARED_MODULE_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_SHARED_MODULE_PREFIX

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_SHARED_MODULE_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_SIZEOF_VOID_P" href="CMAKE_SIZEOF_VOID_P.html" />
    <link rel="prev" title="CMAKE_SHARED_MODULE_PREFIX" href="CMAKE_SHARED_MODULE_PREFIX.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SHARED_MODULE_SUFFIX

CMAKE_SHARED_MODULE_SUFFIX¶

The suffix for shared libraries that you link to.

The suffix to use for the end of a loadable module filename on this
platform

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

Previous topic

CMAKE_SHARED_MODULE_PREFIX

Next topic

CMAKE_SIZEOF_VOID_P

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_SHARED_MODULE_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_SIZEOF_VOID_P — 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_SKIP_INSTALL_RULES" href="CMAKE_SKIP_INSTALL_RULES.html" />
    <link rel="prev" title="CMAKE_SHARED_MODULE_SUFFIX" href="CMAKE_SHARED_MODULE_SUFFIX.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SIZEOF_VOID_P

CMAKE_SIZEOF_VOID_P¶

Size of a void pointer.

This is set to the size of a pointer on the target machine, and is determined
when a compiled language is enabled.  If a 64-bit size is found, then the
library search path is modified to look for 64-bit libraries first.

Previous topic

CMAKE_SHARED_MODULE_SUFFIX

Next topic

CMAKE_SKIP_INSTALL_RULES

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_SIZEOF_VOID_P

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SKIP_BUILD_RPATH

CMAKE_SKIP_BUILD_RPATH¶

Do not include RPATHs in the build tree.

Normally CMake uses the build tree for the RPATH when building
executables etc on systems that use RPATH.  When the software is
installed the executables etc are relinked by CMake to have the
install RPATH.  If this variable is set to TRUE then the software is
always built with no RPATH.

This is used to initialize the SKIP_BUILD_RPATH target property
for all targets. For more information on RPATH handling see
the INSTALL_RPATH and BUILD_RPATH target properties.

See also the CMAKE_SKIP_INSTALL_RPATH variable.
To omit RPATH in both the build and install steps, use
CMAKE_SKIP_RPATH instead.

Previous topic

CMAKE_SHARED_LINKER_FLAGS_INIT

Next topic

CMAKE_SKIP_INSTALL_RPATH

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SKIP_BUILD_RPATH

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_SKIP_INSTALL_ALL_DEPENDENCY — 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_SKIP_TEST_ALL_DEPENDENCY" href="CMAKE_SKIP_TEST_ALL_DEPENDENCY.html" />
    <link rel="prev" title="CMAKE_REQUIRE_FIND_PACKAGE_<PackageName>" href="CMAKE_REQUIRE_FIND_PACKAGE_PackageName.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SKIP_INSTALL_ALL_DEPENDENCY

CMAKE_SKIP_INSTALL_ALL_DEPENDENCY¶

Don't make the install target depend on the all target.

By default, the install target depends on the all target.  This
has the effect, that when make install is invoked or INSTALL is
built, first the all target is built, then the installation starts.
If CMAKE_SKIP_INSTALL_ALL_DEPENDENCY is set to TRUE, this
dependency is not created, so the installation process will start immediately,
independent from whether the project has been completely built or not.

See also CMAKE_SKIP_TEST_ALL_DEPENDENCY.

Previous topic

CMAKE_REQUIRE_FIND_PACKAGE_<PackageName>

Next topic

CMAKE_SKIP_TEST_ALL_DEPENDENCY

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_SKIP_INSTALL_ALL_DEPENDENCY

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SKIP_INSTALL_RPATH

CMAKE_SKIP_INSTALL_RPATH¶

Do not include RPATHs in the install tree.

Normally CMake uses the build tree for the RPATH when building
executables etc on systems that use RPATH.  When the software is
installed the executables etc are relinked by CMake to have the
install RPATH.  If this variable is set to true then the software is
always installed without RPATH, even if RPATH is enabled when
building.  This can be useful for example to allow running tests from
the build directory with RPATH enabled before the installation step.

See also the CMAKE_SKIP_BUILD_RPATH variable.
To omit RPATH in both the build and install steps, use
CMAKE_SKIP_RPATH instead.

For more information on RPATH handling see the INSTALL_RPATH
and BUILD_RPATH target properties.

Previous topic

CMAKE_SKIP_BUILD_RPATH

Next topic

CMAKE_STATIC_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_SKIP_INSTALL_RPATH

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_SKIP_INSTALL_RULES — 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_SKIP_RPATH" href="CMAKE_SKIP_RPATH.html" />
    <link rel="prev" title="CMAKE_SIZEOF_VOID_P" href="CMAKE_SIZEOF_VOID_P.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SKIP_INSTALL_RULES

CMAKE_SKIP_INSTALL_RULES¶

Whether to disable generation of installation rules.

If TRUE, CMake will neither generate installation rules nor
will it generate cmake_install.cmake files. This variable is FALSE by
default.

Previous topic

CMAKE_SIZEOF_VOID_P

Next topic

CMAKE_SKIP_RPATH

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SKIP_INSTALL_RULES

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SKIP_RPATH

CMAKE_SKIP_RPATH¶

If true, do not add run time path information.

If this is set to TRUE, then the rpath information is not added to
compiled executables.  The default is to add rpath information if the
platform supports it.  This allows for easy running from the build
tree.  To omit RPATH in the install step, but not the build step, use
CMAKE_SKIP_INSTALL_RPATH instead. To omit RPATH in the build step,
use CMAKE_SKIP_BUILD_RPATH.

For more information on RPATH handling see the INSTALL_RPATH
and BUILD_RPATH target properties.

Previous topic

CMAKE_SKIP_INSTALL_RULES

Next topic

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

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_SKIP_TEST_ALL_DEPENDENCY — 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_STAGING_PREFIX" href="CMAKE_STAGING_PREFIX.html" />
    <link rel="prev" title="CMAKE_SKIP_INSTALL_ALL_DEPENDENCY" href="CMAKE_SKIP_INSTALL_ALL_DEPENDENCY.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SKIP_TEST_ALL_DEPENDENCY

CMAKE_SKIP_TEST_ALL_DEPENDENCY¶

New in version 3.29.

Control whether the test target depends on the all target.

If this variable is not defined, or is set to TRUE, then the
test (or RUN_TESTS) target does not depend on the
all (or ALL_BUILD) target.  When the test target is built,
e.g., via make test, the test process will start immediately,
regardless of whether the project has been completely built or not.

If CMAKE_SKIP_TEST_ALL_DEPENDENCY is explicitly set to FALSE,
then the test target will depend on the all target.  When the
test target is built, e.g., via make test, the all target
will be built first, and then the tests will run.

See also CMAKE_SKIP_INSTALL_ALL_DEPENDENCY.

Previous topic

CMAKE_SKIP_INSTALL_ALL_DEPENDENCY

Next topic

CMAKE_STAGING_PREFIX

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SKIP_TEST_ALL_DEPENDENCY

        © 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_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_STATIC_LIBRARY_PREFIX" href="CMAKE_STATIC_LIBRARY_PREFIX.html" />
    <link rel="prev" title="CMAKE_SKIP_RPATH" href="CMAKE_SKIP_RPATH.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SOURCE_DIR

CMAKE_SOURCE_DIR¶

The path to the top level of the source tree.

This is the full path to the top level of the current CMake source
tree.  For an in-source build, this would be the same as
CMAKE_BINARY_DIR.

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_SKIP_RPATH

Next topic

CMAKE_STATIC_LIBRARY_PREFIX

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_STAGING_PREFIX

CMAKE_STAGING_PREFIX¶

This variable may be set to a path to install to when cross-compiling. This can
be useful if the path in CMAKE_SYSROOT is read-only, or otherwise
should remain pristine.

The CMAKE_STAGING_PREFIX location is also used as a search prefix
by the find_* commands. This can be controlled by setting the
CMAKE_FIND_NO_INSTALL_PREFIX variable.

If any RPATH/RUNPATH entries passed to the linker contain the
CMAKE_STAGING_PREFIX, the matching path fragments are replaced
with the CMAKE_INSTALL_PREFIX.

Previous topic

CMAKE_SKIP_TEST_ALL_DEPENDENCY

Next topic

CMAKE_SUBLIME_TEXT_2_ENV_SETTINGS

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_STAGING_PREFIX

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


code:
<!DOCTYPE html>

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

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_STATIC_LIBRARY_PREFIX

CMAKE_STATIC_LIBRARY_PREFIX¶

The prefix for static libraries that you link to.

The prefix to use for the name of a static library, lib on UNIX.

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

Previous topic

CMAKE_SOURCE_DIR

Next topic

CMAKE_STATIC_LIBRARY_SUFFIX

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_STATIC_LIBRARY_PREFIX

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


code:
<!DOCTYPE html>

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

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_STATIC_LIBRARY_SUFFIX

CMAKE_STATIC_LIBRARY_SUFFIX¶

The suffix for static libraries that you link to.

The suffix to use for the end of a static library filename, .lib on
Windows.

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

Previous topic

CMAKE_STATIC_LIBRARY_PREFIX

Next topic

CMAKE_Swift_COMPILATION_MODE

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_STATIC_LIBRARY_SUFFIX

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


code:
<!DOCTYPE html>

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

  <title>CMAKE_STATIC_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_STATIC_LINKER_FLAGS_<CONFIG>" href="CMAKE_STATIC_LINKER_FLAGS_CONFIG.html" />
    <link rel="prev" title="CMAKE_SKIP_INSTALL_RPATH" href="CMAKE_SKIP_INSTALL_RPATH.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_STATIC_LINKER_FLAGS

CMAKE_STATIC_LINKER_FLAGS¶

Flags to be used to create static libraries.  These flags will be passed
to the archiver when creating a static library.

See also CMAKE_STATIC_LINKER_FLAGS_<CONFIG>.

Note

Static libraries do not actually link.  They are essentially archives
of object files.  The use of the name "linker" in the name of this
variable is kept for compatibility.

Previous topic

CMAKE_SKIP_INSTALL_RPATH

Next topic

CMAKE_STATIC_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_STATIC_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_STATIC_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_STATIC_LINKER_FLAGS_<CONFIG>_INIT" href="CMAKE_STATIC_LINKER_FLAGS_CONFIG_INIT.html" />
    <link rel="prev" title="CMAKE_STATIC_LINKER_FLAGS" href="CMAKE_STATIC_LINKER_FLAGS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_STATIC_LINKER_FLAGS_<CONFIG>

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

Flags to be used to create static libraries.  These flags will be passed
to the archiver when creating a static library in the <CONFIG>
configuration.

See also CMAKE_STATIC_LINKER_FLAGS.

Note

Static libraries do not actually link.  They are essentially archives
of object files.  The use of the name "linker" in the name of this
variable is kept for compatibility.

Previous topic

CMAKE_STATIC_LINKER_FLAGS

Next topic

CMAKE_STATIC_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_STATIC_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_STATIC_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_STATIC_LINKER_FLAGS_INIT" href="CMAKE_STATIC_LINKER_FLAGS_INIT.html" />
    <link rel="prev" title="CMAKE_STATIC_LINKER_FLAGS_<CONFIG>" href="CMAKE_STATIC_LINKER_FLAGS_CONFIG.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_STATIC_LINKER_FLAGS_<CONFIG>_INIT

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

New in version 3.7.

Value used to initialize the CMAKE_STATIC_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_STATIC_LINKER_FLAGS_INIT.

Previous topic

CMAKE_STATIC_LINKER_FLAGS_<CONFIG>

Next topic

CMAKE_STATIC_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_STATIC_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_STATIC_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_TASKING_TOOLSET" href="CMAKE_TASKING_TOOLSET.html" />
    <link rel="prev" title="CMAKE_STATIC_LINKER_FLAGS_<CONFIG>_INIT" href="CMAKE_STATIC_LINKER_FLAGS_CONFIG_INIT.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_STATIC_LINKER_FLAGS_INIT

CMAKE_STATIC_LINKER_FLAGS_INIT¶

New in version 3.7.

Value used to initialize the CMAKE_STATIC_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_STATIC_LINKER_FLAGS_<CONFIG>_INIT.

Previous topic

CMAKE_STATIC_LINKER_FLAGS_<CONFIG>_INIT

Next topic

CMAKE_TASKING_TOOLSET

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_STATIC_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_SUBLIME_TEXT_2_ENV_SETTINGS — 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_SUBLIME_TEXT_2_EXCLUDE_BUILD_TREE" href="CMAKE_SUBLIME_TEXT_2_EXCLUDE_BUILD_TREE.html" />
    <link rel="prev" title="CMAKE_STAGING_PREFIX" href="CMAKE_STAGING_PREFIX.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SUBLIME_TEXT_2_ENV_SETTINGS

CMAKE_SUBLIME_TEXT_2_ENV_SETTINGS¶

New in version 3.8.

This variable contains a list of env vars as a list of tokens with the
syntax var=value.

Example:

set(CMAKE_SUBLIME_TEXT_2_ENV_SETTINGS
   "FOO=FOO1\;FOO2\;FOON"
   "BAR=BAR1\;BAR2\;BARN"
   "BAZ=BAZ1\;BAZ2\;BAZN"
   "FOOBAR=FOOBAR1\;FOOBAR2\;FOOBARN"
   "VALID="
   )

In case of malformed variables CMake will fail:

set(CMAKE_SUBLIME_TEXT_2_ENV_SETTINGS
    "THIS_IS_NOT_VALID"
    )

Previous topic

CMAKE_STAGING_PREFIX

Next topic

CMAKE_SUBLIME_TEXT_2_EXCLUDE_BUILD_TREE

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_SUBLIME_TEXT_2_ENV_SETTINGS

        © 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_SUBLIME_TEXT_2_EXCLUDE_BUILD_TREE — 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_SUPPRESS_REGENERATION" href="CMAKE_SUPPRESS_REGENERATION.html" />
    <link rel="prev" title="CMAKE_SUBLIME_TEXT_2_ENV_SETTINGS" href="CMAKE_SUBLIME_TEXT_2_ENV_SETTINGS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SUBLIME_TEXT_2_EXCLUDE_BUILD_TREE

CMAKE_SUBLIME_TEXT_2_EXCLUDE_BUILD_TREE¶

New in version 3.8.

If this variable evaluates to ON at the end of the top-level
CMakeLists.txt file, the Sublime Text 2 extra generator
excludes the build tree from the .sublime-project if it is inside the
source tree.

Previous topic

CMAKE_SUBLIME_TEXT_2_ENV_SETTINGS

Next topic

CMAKE_SUPPRESS_REGENERATION

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_SUBLIME_TEXT_2_EXCLUDE_BUILD_TREE

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-variables(7) »

CMAKE_SUPPRESS_REGENERATION

CMAKE_SUPPRESS_REGENERATION¶

New in version 3.12.

If CMAKE_SUPPRESS_REGENERATION is OFF, which is default, then CMake
adds a special target on which all other targets depend that checks the build
system and optionally re-runs CMake to regenerate the build system when
the target specification source changes.

If this variable evaluates to ON at the end of the top-level
CMakeLists.txt file, CMake will not add the regeneration target to the
build system or perform any build system checks.

Previous topic

CMAKE_SUBLIME_TEXT_2_EXCLUDE_BUILD_TREE

Next topic

CMAKE_SYSROOT

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_SUPPRESS_REGENERATION

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