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>VS_DOTNET_REFERENCES_COPY_LOCAL — 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="VS_DOTNET_STARTUP_OBJECT" href="VS_DOTNET_STARTUP_OBJECT.html" />
    <link rel="prev" title="VS_DOTNET_REFERENCES" href="VS_DOTNET_REFERENCES.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_DOTNET_REFERENCES_COPY_LOCAL

VS_DOTNET_REFERENCES_COPY_LOCAL¶

New in version 3.8.

Sets the Copy Local property for all .NET hint references in the target

Boolean property to enable/disable copying of .NET hint references to
output directory. The default is ON.

Previous topic

VS_DOTNET_REFERENCES

Next topic

VS_DOTNET_STARTUP_OBJECT

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_DOTNET_REFERENCES_COPY_LOCAL

        © 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>VS_DOTNET_REFERENCE_<refname> — 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="VS_DOTNET_REFERENCEPROP_<refname>_TAG_<tagname>" href="VS_DOTNET_REFERENCEPROP_refname_TAG_tagname.html" />
    <link rel="prev" title="VS_DOTNET_DOCUMENTATION_FILE" href="VS_DOTNET_DOCUMENTATION_FILE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_DOTNET_REFERENCE_<refname>

<span id="prop_tgt:VS_DOTNET_REFERENCE_<refname>">
VS_DOTNET_REFERENCE_<refname>¶

New in version 3.8.

Visual Studio managed project .NET reference with name <refname>
and hint path.

Adds one .NET reference to generated Visual Studio project. The
reference will have the name <refname> and will point to the
assembly given as value of the property.

See also VS_DOTNET_REFERENCES and
VS_DOTNET_REFERENCES_COPY_LOCAL

Previous topic

VS_DOTNET_DOCUMENTATION_FILE

Next topic

VS_DOTNET_REFERENCEPROP_<refname>_TAG_<tagname>

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

VS_DOTNET_REFERENCE_<refname>

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_DOTNET_STARTUP_OBJECT

VS_DOTNET_STARTUP_OBJECT¶

New in version 3.24.

Sets the startup object property in Visual Studio .NET targets.
The property value defines a full qualified class name (including package
name), for example: MyCompany.Package.MyStarterClass.

If the property is unset, Visual Studio uses the first matching
static void Main(string[]) function signature by default. When more
than one Main() method is available in the current project, the property
becomes mandatory for building the project.

This property only works for Visual Studio 12 2013 and above;
it is ignored on other generators.

set_property(TARGET ${TARGET_NAME} PROPERTY
  VS_DOTNET_STARTUP_OBJECT "MyCompany.Package.MyStarterClass")

Previous topic

VS_DOTNET_REFERENCES_COPY_LOCAL

Next topic

VS_DOTNET_TARGET_FRAMEWORK_VERSION

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_DOTNET_STARTUP_OBJECT

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


code:
<!DOCTYPE html>

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

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_DOTNET_TARGET_FRAMEWORK_VERSION

VS_DOTNET_TARGET_FRAMEWORK_VERSION¶

Specify the .NET target framework version.

Used to specify the .NET target framework version for C++/CLI. For
example, "v4.5".

This property is deprecated and should not be used anymore. Use
DOTNET_TARGET_FRAMEWORK or
DOTNET_TARGET_FRAMEWORK_VERSION instead.

Previous topic

VS_DOTNET_STARTUP_OBJECT

Next topic

VS_DPI_AWARE

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

VS_DOTNET_TARGET_FRAMEWORK_VERSION

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


code:
<!DOCTYPE html>

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

  <title>VS_DPI_AWARE — 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="VS_GLOBAL_KEYWORD" href="VS_GLOBAL_KEYWORD.html" />
    <link rel="prev" title="VS_DOTNET_TARGET_FRAMEWORK_VERSION" href="VS_DOTNET_TARGET_FRAMEWORK_VERSION.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_DPI_AWARE

VS_DPI_AWARE¶

New in version 3.16.

Set the Manifest Tool -> Input and Output -> DPI Awareness in the Visual Studio
target project properties.

Valid values are PerMonitor, ON, or OFF.

For example:

add_executable(myproject myproject.cpp)
set_property(TARGET myproject PROPERTY VS_DPI_AWARE "PerMonitor")

Previous topic

VS_DOTNET_TARGET_FRAMEWORK_VERSION

Next topic

VS_GLOBAL_KEYWORD

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

VS_DPI_AWARE

        © 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>VS_GLOBAL_KEYWORD — 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="VS_GLOBAL_PROJECT_TYPES" href="VS_GLOBAL_PROJECT_TYPES.html" />
    <link rel="prev" title="VS_DPI_AWARE" href="VS_DPI_AWARE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_GLOBAL_KEYWORD

VS_GLOBAL_KEYWORD¶

Visual Studio project keyword for VS 10 (2010) and newer.

Sets the "keyword" attribute for a generated Visual Studio project.
Defaults to "Win32Proj".  You may wish to override this value with
"ManagedCProj", for example, in a Visual Studio managed C++ unit test
project.

Use the VS_KEYWORD target property to set the
keyword for Visual Studio 9 (2008) and older.

Previous topic

VS_DPI_AWARE

Next topic

VS_GLOBAL_PROJECT_TYPES

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

VS_GLOBAL_KEYWORD

        © 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>VS_GLOBAL_PROJECT_TYPES — 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="VS_GLOBAL_ROOTNAMESPACE" href="VS_GLOBAL_ROOTNAMESPACE.html" />
    <link rel="prev" title="VS_GLOBAL_KEYWORD" href="VS_GLOBAL_KEYWORD.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_GLOBAL_PROJECT_TYPES

VS_GLOBAL_PROJECT_TYPES¶

Visual Studio project type(s).

Can be set to one or more UUIDs recognized by Visual Studio to
indicate the type of project.  This value is copied verbatim into the
generated project file.  Example for a managed C++ unit testing
project:

{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}

UUIDs are semicolon-delimited.

Previous topic

VS_GLOBAL_KEYWORD

Next topic

VS_GLOBAL_ROOTNAMESPACE

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

VS_GLOBAL_PROJECT_TYPES

        © 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>VS_GLOBAL_ROOTNAMESPACE — 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="VS_GLOBAL_<variable>" href="VS_GLOBAL_variable.html" />
    <link rel="prev" title="VS_GLOBAL_PROJECT_TYPES" href="VS_GLOBAL_PROJECT_TYPES.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_GLOBAL_ROOTNAMESPACE

VS_GLOBAL_ROOTNAMESPACE¶

Visual Studio project root namespace.

Sets the "RootNamespace" attribute for a generated Visual Studio
project.  The attribute will be generated only if this is set.

Previous topic

VS_GLOBAL_PROJECT_TYPES

Next topic

VS_GLOBAL_<variable>

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

VS_GLOBAL_ROOTNAMESPACE

        © 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>VS_GLOBAL_<variable> — 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="VS_IOT_EXTENSIONS_VERSION" href="VS_IOT_EXTENSIONS_VERSION.html" />
    <link rel="prev" title="VS_GLOBAL_ROOTNAMESPACE" href="VS_GLOBAL_ROOTNAMESPACE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_GLOBAL_<variable>

<span id="prop_tgt:VS_GLOBAL_<variable>">
VS_GLOBAL_<variable>¶

Visual Studio project-specific global variable.

Tell the Visual Studio generator to set the global variable
'<variable>' to a given value in the generated Visual Studio project.
Ignored on other generators.  Qt integration works better if
VS_GLOBAL_QtVersion is set to the version FindQt4.cmake found.  For
example, "4.7.3"

Previous topic

VS_GLOBAL_ROOTNAMESPACE

Next topic

VS_IOT_EXTENSIONS_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-properties(7) »

VS_GLOBAL_<variable>

        © 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>VS_IOT_EXTENSIONS_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="VS_IOT_STARTUP_TASK" href="VS_IOT_STARTUP_TASK.html" />
    <link rel="prev" title="VS_GLOBAL_<variable>" href="VS_GLOBAL_variable.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_IOT_EXTENSIONS_VERSION

VS_IOT_EXTENSIONS_VERSION¶

New in version 3.4.

Visual Studio Windows 10 IoT Extensions Version

Specifies the version of the IoT Extensions that should be included in the
target. For example 10.0.10240.0. If the value is not specified, the IoT
Extensions will not be included. To use the same version of the extensions as
the Windows 10 SDK that is being used, you can use the
CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION variable.

Previous topic

VS_GLOBAL_<variable>

Next topic

VS_IOT_STARTUP_TASK

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

VS_IOT_EXTENSIONS_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>VS_IOT_STARTUP_TASK — 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="VS_JUST_MY_CODE_DEBUGGING" href="VS_JUST_MY_CODE_DEBUGGING.html" />
    <link rel="prev" title="VS_IOT_EXTENSIONS_VERSION" href="VS_IOT_EXTENSIONS_VERSION.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_IOT_STARTUP_TASK

VS_IOT_STARTUP_TASK¶

New in version 3.4.

Visual Studio Windows 10 IoT Continuous Background Task

Specifies that the target should be compiled as a Continuous Background Task library.

Previous topic

VS_IOT_EXTENSIONS_VERSION

Next topic

VS_JUST_MY_CODE_DEBUGGING

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

VS_IOT_STARTUP_TASK

        © 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>VS_JUST_MY_CODE_DEBUGGING — 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="VS_KEYWORD" href="VS_KEYWORD.html" />
    <link rel="prev" title="VS_IOT_STARTUP_TASK" href="VS_IOT_STARTUP_TASK.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_JUST_MY_CODE_DEBUGGING

VS_JUST_MY_CODE_DEBUGGING¶

New in version 3.15.

Enable Just My Code with Visual Studio debugger.

Supported on Visual Studio Generators for VS 2010 and higher,
Makefile Generators and the Ninja generators.

This property is initialized by the CMAKE_VS_JUST_MY_CODE_DEBUGGING
variable if it is set when a target is created.

Previous topic

VS_IOT_STARTUP_TASK

Next topic

VS_KEYWORD

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

VS_JUST_MY_CODE_DEBUGGING

        © 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>VS_KEYWORD — 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="VS_MOBILE_EXTENSIONS_VERSION" href="VS_MOBILE_EXTENSIONS_VERSION.html" />
    <link rel="prev" title="VS_JUST_MY_CODE_DEBUGGING" href="VS_JUST_MY_CODE_DEBUGGING.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_KEYWORD

VS_KEYWORD¶

Visual Studio project keyword for VS 9 (2008) and older.

Can be set to change the visual studio keyword, for example Qt
integration works better if this is set to Qt4VSv1.0.

Use the VS_GLOBAL_KEYWORD target property to set the
keyword for Visual Studio 12 (2013) and newer.

Previous topic

VS_JUST_MY_CODE_DEBUGGING

Next topic

VS_MOBILE_EXTENSIONS_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-properties(7) »

VS_KEYWORD

        © 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>VS_MOBILE_EXTENSIONS_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="VS_NO_COMPILE_BATCHING" href="VS_NO_COMPILE_BATCHING.html" />
    <link rel="prev" title="VS_KEYWORD" href="VS_KEYWORD.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_MOBILE_EXTENSIONS_VERSION

VS_MOBILE_EXTENSIONS_VERSION¶

New in version 3.4.

Visual Studio Windows 10 Mobile Extensions Version

Specifies the version of the Mobile Extensions that should be included in the
target. For example 10.0.10240.0. If the value is not specified, the Mobile
Extensions will not be included. To use the same version of the extensions as
the Windows 10 SDK that is being used, you can use the
CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION variable.

Previous topic

VS_KEYWORD

Next topic

VS_NO_COMPILE_BATCHING

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

VS_MOBILE_EXTENSIONS_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>VS_NO_COMPILE_BATCHING — 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="VS_NO_SOLUTION_DEPLOY" href="VS_NO_SOLUTION_DEPLOY.html" />
    <link rel="prev" title="VS_MOBILE_EXTENSIONS_VERSION" href="VS_MOBILE_EXTENSIONS_VERSION.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_NO_COMPILE_BATCHING

VS_NO_COMPILE_BATCHING¶

New in version 3.24.

Turn off compile batching for the target. Usually MSBuild calls the compiler
with multiple c/cpp files and compiler starts subprocesses for each file to
make the build parallel. If you want compiler to be invoked with one file at
a time set VS_NO_COMPILE_BATCHING to ON. If this flag is set MSBuild will
call compiler with one c/cpp file at a time. Useful when you want to use tool
that replaces the compiler, for example some build caching tool.

This property is initialized by the CMAKE_VS_NO_COMPILE_BATCHING
variable if it is set when a target is created.

Example¶

This shows setting the property for the target foo.

add_library(foo SHARED foo.cpp)
set_property(TARGET foo PROPERTY VS_NO_COMPILE_BATCHING ON)

Table of Contents

VS_NO_COMPILE_BATCHING

Example

Previous topic

VS_MOBILE_EXTENSIONS_VERSION

Next topic

VS_NO_SOLUTION_DEPLOY

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

VS_NO_COMPILE_BATCHING

        © 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>VS_NO_SOLUTION_DEPLOY — 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="VS_PACKAGE_REFERENCES" href="VS_PACKAGE_REFERENCES.html" />
    <link rel="prev" title="VS_NO_COMPILE_BATCHING" href="VS_NO_COMPILE_BATCHING.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_NO_SOLUTION_DEPLOY

VS_NO_SOLUTION_DEPLOY¶

New in version 3.15.

Specify that the target should not be marked for deployment to a Windows CE
or Windows Phone device in the generated Visual Studio solution.

Be default, all EXE and shared library (DLL) targets are marked to deploy to
the target device in the generated Visual Studio solution.

Generator expressions are supported.

There are reasons one might want to exclude a target / generated project from
deployment:

The library or executable may not be necessary in the primary deploy/debug
scenario, and excluding from deployment saves time in the
develop/download/debug cycle.

There may be insufficient space on the target device to accommodate all of
the build products.

Visual Studio 2013 requires a target device IP address be entered for each
target marked for deployment.  For large numbers of targets, this can be
tedious.
NOTE: Visual Studio will deploy all project dependencies of a project
tagged for deployment to the IP address configured for that project even
if those dependencies are not tagged for deployment.

Example 1¶

This shows setting the variable for the target foo.

add_library(foo SHARED foo.cpp)
set_property(TARGET foo PROPERTY VS_NO_SOLUTION_DEPLOY ON)

Example 2¶

This shows setting the variable for the Release configuration only.

add_library(foo SHARED foo.cpp)
set_property(TARGET foo PROPERTY VS_NO_SOLUTION_DEPLOY "$<CONFIG:Release>")

Table of Contents

VS_NO_SOLUTION_DEPLOY

Example 1

Example 2

Previous topic

VS_NO_COMPILE_BATCHING

Next topic

VS_PACKAGE_REFERENCES

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

VS_NO_SOLUTION_DEPLOY

        © 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>VS_PACKAGE_REFERENCES — 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="VS_PLATFORM_TOOLSET" href="VS_PLATFORM_TOOLSET.html" />
    <link rel="prev" title="VS_NO_SOLUTION_DEPLOY" href="VS_NO_SOLUTION_DEPLOY.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_PACKAGE_REFERENCES

VS_PACKAGE_REFERENCES¶

New in version 3.15.

Visual Studio package references for nuget.

Adds one or more semicolon-delimited package references to a generated
Visual Studio project. The version of the package will be
underscore delimited. For example, boost_1.7.0;nunit_3.12.*.

set_property(TARGET ${TARGET_NAME} PROPERTY
  VS_PACKAGE_REFERENCES "boost_1.7.0")

Previous topic

VS_NO_SOLUTION_DEPLOY

Next topic

VS_PLATFORM_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-properties(7) »

VS_PACKAGE_REFERENCES

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_PLATFORM_TOOLSET

VS_PLATFORM_TOOLSET¶

New in version 3.18.

Overrides the platform toolset used to build a target.

Only supported when the compiler used by the given toolset is the
same as the compiler used to build the whole source tree.

This is especially useful to create driver projects with the toolsets
"WindowsUserModeDriver10.0" or "WindowsKernelModeDriver10.0".

Previous topic

VS_PACKAGE_REFERENCES

Next topic

VS_PROJECT_IMPORT

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

VS_PLATFORM_TOOLSET

        © 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>VS_PROJECT_IMPORT — 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="VS_SCC_AUXPATH" href="VS_SCC_AUXPATH.html" />
    <link rel="prev" title="VS_PLATFORM_TOOLSET" href="VS_PLATFORM_TOOLSET.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_PROJECT_IMPORT

VS_PROJECT_IMPORT¶

New in version 3.15.

Visual Studio managed project imports

Adds to a generated Visual Studio project one or more semicolon-delimited paths
to .props files needed when building projects from some NuGet packages.
For example, my_packages_path/MyPackage.1.0.0/build/MyPackage.props.

Previous topic

VS_PLATFORM_TOOLSET

Next topic

VS_SCC_AUXPATH

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

VS_PROJECT_IMPORT

        © 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>VS_SCC_AUXPATH — 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="VS_SCC_LOCALPATH" href="VS_SCC_LOCALPATH.html" />
    <link rel="prev" title="VS_PROJECT_IMPORT" href="VS_PROJECT_IMPORT.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_SCC_AUXPATH

VS_SCC_AUXPATH¶

Visual Studio Source Code Control Aux Path.

Can be set to change the visual studio source code control auxpath
property.

Previous topic

VS_PROJECT_IMPORT

Next topic

VS_SCC_LOCALPATH

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

VS_SCC_AUXPATH

        © 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>VS_SCC_LOCALPATH — 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="VS_SCC_PROJECTNAME" href="VS_SCC_PROJECTNAME.html" />
    <link rel="prev" title="VS_SCC_AUXPATH" href="VS_SCC_AUXPATH.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_SCC_LOCALPATH

VS_SCC_LOCALPATH¶

Visual Studio Source Code Control Local Path.

Can be set to change the visual studio source code control local path
property.

Previous topic

VS_SCC_AUXPATH

Next topic

VS_SCC_PROJECTNAME

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

VS_SCC_LOCALPATH

        © 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>VS_SCC_PROJECTNAME — 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="VS_SCC_PROVIDER" href="VS_SCC_PROVIDER.html" />
    <link rel="prev" title="VS_SCC_LOCALPATH" href="VS_SCC_LOCALPATH.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_SCC_PROJECTNAME

VS_SCC_PROJECTNAME¶

Visual Studio Source Code Control Project.

Can be set to change the visual studio source code control project
name property.

Previous topic

VS_SCC_LOCALPATH

Next topic

VS_SCC_PROVIDER

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

VS_SCC_PROJECTNAME

        © 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>VS_SCC_PROVIDER — 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="VS_SDK_REFERENCES" href="VS_SDK_REFERENCES.html" />
    <link rel="prev" title="VS_SCC_PROJECTNAME" href="VS_SCC_PROJECTNAME.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_SCC_PROVIDER

VS_SCC_PROVIDER¶

Visual Studio Source Code Control Provider.

Can be set to change the visual studio source code control provider
property.

Previous topic

VS_SCC_PROJECTNAME

Next topic

VS_SDK_REFERENCES

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

VS_SCC_PROVIDER

        © 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>VS_SDK_REFERENCES — 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="VS_SOLUTION_DEPLOY" href="VS_SOLUTION_DEPLOY.html" />
    <link rel="prev" title="VS_SCC_PROVIDER" href="VS_SCC_PROVIDER.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_SDK_REFERENCES

VS_SDK_REFERENCES¶

New in version 3.7.

Visual Studio project SDK references.
Specify a semicolon-separated list of SDK references
to be added to a generated Visual Studio project, e.g.
Microsoft.AdMediatorWindows81, Version=1.0.

Previous topic

VS_SCC_PROVIDER

Next topic

VS_SOLUTION_DEPLOY

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

VS_SDK_REFERENCES

        © 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>VS_SOLUTION_DEPLOY — 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="VS_SOURCE_SETTINGS_<tool>" href="VS_SOURCE_SETTINGS_tool.html" />
    <link rel="prev" title="VS_SDK_REFERENCES" href="VS_SDK_REFERENCES.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_SOLUTION_DEPLOY

VS_SOLUTION_DEPLOY¶

New in version 3.18.

Specify that the target should be marked for deployment when not targeting
Windows CE, Windows Phone or a Windows Store application.

If the target platform doesn't support deployment, this property won't have
any effect.

Generator expressions are supported.

Examples¶

Always deploy target foo:

add_executable(foo SHARED foo.cpp)
set_property(TARGET foo PROPERTY VS_SOLUTION_DEPLOY ON)

Deploy target foo for all configurations except Release:

add_executable(foo SHARED foo.cpp)
set_property(TARGET foo PROPERTY VS_SOLUTION_DEPLOY "$<NOT:$<CONFIG:Release>>")

Table of Contents

VS_SOLUTION_DEPLOY

Examples

Previous topic

VS_SDK_REFERENCES

Next topic

VS_SOURCE_SETTINGS_<tool>

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

VS_SOLUTION_DEPLOY

        © 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>VS_SOURCE_SETTINGS_<tool> — 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="VS_USER_PROPS" href="VS_USER_PROPS.html" />
    <link rel="prev" title="VS_SOLUTION_DEPLOY" href="VS_SOLUTION_DEPLOY.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_SOURCE_SETTINGS_<tool>

<span id="prop_tgt:VS_SOURCE_SETTINGS_<tool>">
VS_SOURCE_SETTINGS_<tool>¶

New in version 3.18.

Set any item metadata on all non-built files that use <tool>.

Takes a list of Key=Value pairs. Tells the Visual Studio generator
to set Key to Value as item metadata on all non-built files
that use <tool>.

For example:

set_property(TARGET main PROPERTY VS_SOURCE_SETTINGS_FXCompile "Key=Value" "Key2=Value2")

will set Key to Value and Key2 to Value2 for all
non-built files that use FXCompile.

Generator expressions are supported.

Previous topic

VS_SOLUTION_DEPLOY

Next topic

VS_USER_PROPS

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

VS_SOURCE_SETTINGS_<tool>

        © 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>VS_USER_PROPS — 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="VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION" href="VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION.html" />
    <link rel="prev" title="VS_SOURCE_SETTINGS_<tool>" href="VS_SOURCE_SETTINGS_tool.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_USER_PROPS

VS_USER_PROPS¶

New in version 3.8.

Sets the user props file to be included in the visual studio
C++ project file. The standard path is
$(UserRootDir)\\Microsoft.Cpp.$(Platform).user.props, which is
in most cases the same as
%LOCALAPPDATA%\\Microsoft\\MSBuild\\v4.0\\Microsoft.Cpp.Win32.user.props
or %LOCALAPPDATA%\\Microsoft\\MSBuild\\v4.0\\Microsoft.Cpp.x64.user.props.

The *.user.props files can be used for Visual Studio wide
configuration which is independent from cmake.

Previous topic

VS_SOURCE_SETTINGS_<tool>

Next topic

VS_WINDOWS_TARGET_PLATFORM_MIN_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-properties(7) »

VS_USER_PROPS

        © 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>VS_WINDOWS_TARGET_PLATFORM_MIN_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="VS_WINRT_COMPONENT" href="VS_WINRT_COMPONENT.html" />
    <link rel="prev" title="VS_USER_PROPS" href="VS_USER_PROPS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION

VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION¶

New in version 3.4.

Visual Studio Windows Target Platform Minimum Version

For Windows 10. Specifies the minimum version of the OS that is being
targeted. For example 10.0.10240.0. If the value is not specified, the
value of the CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION variable
will be used on WindowsStore projects.  Otherwise the target platform
minimum version will not be specified for the project.

New in version 3.27: This property is initialized by the value of the
CMAKE_VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION variable
if it is set when a target is created.

Previous topic

VS_USER_PROPS

Next topic

VS_WINRT_COMPONENT

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

VS_WINDOWS_TARGET_PLATFORM_MIN_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>VS_WINRT_COMPONENT — 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="VS_WINRT_REFERENCES" href="VS_WINRT_REFERENCES.html" />
    <link rel="prev" title="VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION" href="VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_WINRT_COMPONENT

VS_WINRT_COMPONENT¶

New in version 3.1.

Mark a target as a Windows Runtime component for the Visual Studio generator.
Compile the target with C++/CX language extensions for Windows Runtime.
For SHARED and MODULE libraries, this also defines the
_WINRT_DLL preprocessor macro.

Note

Currently this is implemented only by Visual Studio generators.
Support may be added to other generators in the future.

Previous topic

VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION

Next topic

VS_WINRT_REFERENCES

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

VS_WINRT_COMPONENT

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

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

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="COMPILE_DEFINITIONS_<CONFIG>" href="../prop_sf/COMPILE_DEFINITIONS_CONFIG.html" />
    <link rel="prev" title="PRE_INSTALL_SCRIPT" href="PRE_INSTALL_SCRIPT.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_WINRT_EXTENSIONS

VS_WINRT_EXTENSIONS¶

Deprecated.  Use VS_WINRT_COMPONENT instead.
This property was an experimental partial implementation of that one.

Previous topic

PRE_INSTALL_SCRIPT

Next topic

COMPILE_DEFINITIONS_<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-properties(7) »

VS_WINRT_EXTENSIONS

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


code:
<!DOCTYPE html>

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

  <title>VS_WINRT_REFERENCES — 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="WATCOM_RUNTIME_LIBRARY" href="WATCOM_RUNTIME_LIBRARY.html" />
    <link rel="prev" title="VS_WINRT_COMPONENT" href="VS_WINRT_COMPONENT.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_WINRT_REFERENCES

VS_WINRT_REFERENCES¶

Visual Studio project Windows Runtime Metadata references

Adds one or more semicolon-delimited WinRT references to a generated
Visual Studio project.  For example, "Windows;Windows.UI.Core".

Previous topic

VS_WINRT_COMPONENT

Next topic

WATCOM_RUNTIME_LIBRARY

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

VS_WINRT_REFERENCES

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

WATCOM_RUNTIME_LIBRARY

WATCOM_RUNTIME_LIBRARY¶

New in version 3.24.

Select the Watcom runtime library for use by compilers targeting the Watcom ABI.

The allowed values are:

SingleThreaded

Compile without additional flags to use a single-threaded
statically-linked runtime library.

SingleThreadedDLL

Compile with -br or equivalent flag(s) to use a single-threaded
dynamically-linked runtime library. This is not available for Linux
targets.

MultiThreaded

Compile with -bm or equivalent flag(s) to use a multi-threaded
statically-linked runtime library.

MultiThreadedDLL

Compile with -bm -br or equivalent flag(s) to use a multi-threaded
dynamically-linked runtime library. This is not available for Linux
targets.

The value is ignored on non-Watcom compilers but an unsupported value will
be rejected as an error when using a compiler targeting the Watcom ABI.

The value may also be the empty string ("") in which case no runtime
library selection flag will be added explicitly by CMake.

Use generator expressions to
support per-configuration specification.

For example, the code:

add_executable(foo foo.c)
set_property(TARGET foo PROPERTY
  WATCOM_RUNTIME_LIBRARY "MultiThreaded")

selects for the target foo a multi-threaded statically-linked runtime
library.

If this property is not set then CMake uses the default value
MultiThreadedDLL on Windows and SingleThreaded on other
platforms to select a Watcom runtime library.

Note

This property has effect only when policy CMP0136 is set to NEW
prior to the first project() or enable_language() command
that enables a language using a compiler targeting the Watcom ABI.

Previous topic

VS_WINRT_REFERENCES

Next topic

WIN32_EXECUTABLE

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

WATCOM_RUNTIME_LIBRARY

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


code:
<!DOCTYPE html>

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

  <title>WIN32_EXECUTABLE — 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="WINDOWS_EXPORT_ALL_SYMBOLS" href="WINDOWS_EXPORT_ALL_SYMBOLS.html" />
    <link rel="prev" title="WATCOM_RUNTIME_LIBRARY" href="WATCOM_RUNTIME_LIBRARY.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

WIN32_EXECUTABLE

WIN32_EXECUTABLE¶

Build an executable with a WinMain entry point on windows.

When this property is set to true the executable when linked on
Windows will be created with a WinMain() entry point instead of just
main().  This makes it a GUI executable instead of a console application.
See the CMAKE_MFC_FLAG variable documentation to
configure use of the Microsoft Foundation Classes (MFC) for WinMain
executables.  This property is initialized by the value of the
CMAKE_WIN32_EXECUTABLE variable if it is set when
a target is created.

This property supports
generator expressions, except if the
target is managed (contains C# code.)

Previous topic

WATCOM_RUNTIME_LIBRARY

Next topic

WINDOWS_EXPORT_ALL_SYMBOLS

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

WIN32_EXECUTABLE

        © 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>WINDOWS_EXPORT_ALL_SYMBOLS — 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="XCODE_ATTRIBUTE_<an-attribute>" href="XCODE_ATTRIBUTE_an-attribute.html" />
    <link rel="prev" title="WIN32_EXECUTABLE" href="WIN32_EXECUTABLE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

WINDOWS_EXPORT_ALL_SYMBOLS

WINDOWS_EXPORT_ALL_SYMBOLS¶

New in version 3.4.

This property is implemented only for MS-compatible tools on Windows.

Enable this boolean property to automatically create a module definition
(.def) file with all global symbols found in the input .obj files
for a SHARED library (or executable with ENABLE_EXPORTS)
on Windows.  The module definition file will be passed to the linker
causing all symbols to be exported from the .dll.
For global data symbols, __declspec(dllimport) must still be used when
compiling against the code in the .dll.  All other function symbols will
be automatically exported and imported by callers.  This simplifies porting
projects to Windows by reducing the need for explicit dllexport markup,
even in C++ classes.

When this property is enabled, zero or more .def files may also be
specified as source files of the target.  The exports named by these files
will be merged with those detected from the object files to generate a
single module definition file to be passed to the linker.  This can be
used to export symbols from a .dll that are not in any of its object
files but are added by the linker from dependencies (e.g. msvcrt.lib).

This property is initialized by the value of
the CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS variable if it is set
when a target is created.

Previous topic

WIN32_EXECUTABLE

Next topic

XCODE_ATTRIBUTE_<an-attribute>

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

WINDOWS_EXPORT_ALL_SYMBOLS

        © 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>XCODE_ATTRIBUTE_<an-attribute> — 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="XCODE_EMBED_FRAMEWORKS_CODE_SIGN_ON_COPY" href="XCODE_EMBED_FRAMEWORKS_CODE_SIGN_ON_COPY.html" />
    <link rel="prev" title="WINDOWS_EXPORT_ALL_SYMBOLS" href="WINDOWS_EXPORT_ALL_SYMBOLS.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

XCODE_ATTRIBUTE_<an-attribute>

<span id="prop_tgt:XCODE_ATTRIBUTE_<an-attribute>">
XCODE_ATTRIBUTE_<an-attribute>¶

Set Xcode target attributes directly.

Tell the Xcode generator to set <an-attribute> to a given
value in the generated Xcode project.  Ignored on other generators.

This offers low-level control over the generated Xcode project file.
It is meant as a last resort for specifying settings that CMake does
not otherwise have a way to control.  Although this can override a
setting CMake normally produces on its own, doing so bypasses CMake's
model of the project and can break things.

See the CMAKE_XCODE_ATTRIBUTE_<an-attribute> variable
to set attributes on all targets in a directory tree.

Contents of XCODE_ATTRIBUTE_<an-attribute> may use
"generator expressions" with the syntax $<...>.  See the
cmake-generator-expressions(7) manual for available
expressions.  See the cmake-buildsystem(7) manual
for more on defining buildsystem properties.

Previous topic

WINDOWS_EXPORT_ALL_SYMBOLS

Next topic

XCODE_EMBED_FRAMEWORKS_CODE_SIGN_ON_COPY

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

XCODE_ATTRIBUTE_<an-attribute>

        © 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>XCODE_EMBED_FRAMEWORKS_CODE_SIGN_ON_COPY — 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="XCODE_EMBED_FRAMEWORKS_REMOVE_HEADERS_ON_COPY" href="XCODE_EMBED_FRAMEWORKS_REMOVE_HEADERS_ON_COPY.html" />
    <link rel="prev" title="XCODE_ATTRIBUTE_<an-attribute>" href="XCODE_ATTRIBUTE_an-attribute.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

XCODE_EMBED_FRAMEWORKS_CODE_SIGN_ON_COPY

XCODE_EMBED_FRAMEWORKS_CODE_SIGN_ON_COPY¶

New in version 3.20.

Tell the Xcode generator to perform code signing for all the
frameworks and libraries that are embedded using the
XCODE_EMBED_FRAMEWORKS property.

New in version 3.21.

This property was generalized to other types of embedded items.  See
XCODE_EMBED_<type>_CODE_SIGN_ON_COPY for the more general form.

Previous topic

XCODE_ATTRIBUTE_<an-attribute>

Next topic

XCODE_EMBED_FRAMEWORKS_REMOVE_HEADERS_ON_COPY

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

XCODE_EMBED_FRAMEWORKS_CODE_SIGN_ON_COPY

        © 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>XCODE_EMBED_FRAMEWORKS_REMOVE_HEADERS_ON_COPY — 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="XCODE_EMBED_<type>" href="XCODE_EMBED_type.html" />
    <link rel="prev" title="XCODE_EMBED_FRAMEWORKS_CODE_SIGN_ON_COPY" href="XCODE_EMBED_FRAMEWORKS_CODE_SIGN_ON_COPY.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

XCODE_EMBED_FRAMEWORKS_REMOVE_HEADERS_ON_COPY

XCODE_EMBED_FRAMEWORKS_REMOVE_HEADERS_ON_COPY¶

New in version 3.20.

Tell the Xcode generator to remove headers from all the
frameworks that are embedded using the
XCODE_EMBED_FRAMEWORKS property.

New in version 3.21.

This property was generalized to other types of embedded items.  See
XCODE_EMBED_<type>_REMOVE_HEADERS_ON_COPY for the more
general form.

Previous topic

XCODE_EMBED_FRAMEWORKS_CODE_SIGN_ON_COPY

Next topic

XCODE_EMBED_<type>

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

XCODE_EMBED_FRAMEWORKS_REMOVE_HEADERS_ON_COPY

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

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

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="XCODE_EMBED_<type>_CODE_SIGN_ON_COPY" href="XCODE_EMBED_type_CODE_SIGN_ON_COPY.html" />
    <link rel="prev" title="XCODE_EMBED_FRAMEWORKS_REMOVE_HEADERS_ON_COPY" href="XCODE_EMBED_FRAMEWORKS_REMOVE_HEADERS_ON_COPY.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

XCODE_EMBED_<type>

<span id="prop_tgt:XCODE_EMBED_<type>">
XCODE_EMBED_<type>¶

New in version 3.20.

Tell the Xcode generator to embed the specified list of items into
the target bundle.  <type> specifies the embed build phase to use.
See the Xcode documentation for the base location of each <type>.

The supported values for <type> are:

FRAMEWORKS

The specified items will be added to the Embed Frameworks build phase.
The items can be CMake target names or paths to frameworks or libraries.

APP_EXTENSIONS

New in version 3.21.

The specified items will be added to the Embed App Extensions build
phase, with Destination set to PlugIns and Foundation Extensions
They must be CMake target names.

EXTENSIONKIT_EXTENSIONS

New in version 3.26.

The specified items will be added to the Embed App Extensions build
phase, with Destination set to ExtensionKit Extensions
They must be CMake target names, and should likely have the
XCODE_PRODUCT_TYPE target property set to
com.apple.product-type.extensionkit-extension
as well as the  XCODE_EXPLICIT_FILE_TYPE to
wrapper.extensionkit-extension

PLUGINS

New in version 3.23.

The specified items will be added to the Embed PlugIns build phase.
They must be CMake target names.

RESOURCES

New in version 3.28.

The specified items will be added to the Embed Resources build phase.
They must be CMake target names or folder paths.

XPC_SERVICES

New in version 3.29.

The specified items will be added to the Embed XPC Services build phase.
They must be CMake target names.

When listing a target as any of the things to embed, Xcode must see that target
as part of the same Xcode project, or a sub-project of the one defining the
bundle.  In order to satisfy this constraint, the CMake project must ensure
at least one of the following:

The CMAKE_XCODE_GENERATE_TOP_LEVEL_PROJECT_ONLY variable is set
to true in the top level CMakeLists.txt file.  This is the simplest and
most robust approach.

Define the target-to-embed in a subdirectory of the one that defines the
target being embedded into.

If the target-to-embed and the target being embedded into are in separate,
unrelated directories (i.e. they are siblings, not one a parent of the
other), ensure they have a common project() call in a parent
directory and no other project() calls between themselves and that
common project() call.

See also XCODE_EMBED_<type>_PATH,
XCODE_EMBED_<type>_REMOVE_HEADERS_ON_COPY and
XCODE_EMBED_<type>_CODE_SIGN_ON_COPY.

Previous topic

XCODE_EMBED_FRAMEWORKS_REMOVE_HEADERS_ON_COPY

Next topic

XCODE_EMBED_<type>_CODE_SIGN_ON_COPY

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

XCODE_EMBED_<type>

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


code:
<!DOCTYPE html>

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

  <title>XCODE_EMBED_<type>_CODE_SIGN_ON_COPY — 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="XCODE_EMBED_<type>_PATH" href="XCODE_EMBED_type_PATH.html" />
    <link rel="prev" title="XCODE_EMBED_<type>" href="XCODE_EMBED_type.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

XCODE_EMBED_<type>_CODE_SIGN_ON_COPY

<span id="prop_tgt:XCODE_EMBED_<type>_CODE_SIGN_ON_COPY">
XCODE_EMBED_<type>_CODE_SIGN_ON_COPY¶

New in version 3.20.

Boolean property used only by the Xcode generator.  It specifies
whether to perform code signing for the items that are embedded using the
XCODE_EMBED_<type> property.

The supported values for <type> are:

FRAMEWORKS

APP_EXTENSIONS

New in version 3.21.

EXTENSIONKIT_EXTENSIONS

New in version 3.26.

PLUGINS

New in version 3.23.

If a XCODE_EMBED_<type>_CODE_SIGN_ON_COPY property is not defined on the
target, no code signing on copy will be performed for that <type>.

Previous topic

XCODE_EMBED_<type>

Next topic

XCODE_EMBED_<type>_PATH

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

XCODE_EMBED_<type>_CODE_SIGN_ON_COPY

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

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

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="XCODE_EMBED_<type>_REMOVE_HEADERS_ON_COPY" href="XCODE_EMBED_type_REMOVE_HEADERS_ON_COPY.html" />
    <link rel="prev" title="XCODE_EMBED_<type>_CODE_SIGN_ON_COPY" href="XCODE_EMBED_type_CODE_SIGN_ON_COPY.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

XCODE_EMBED_<type>_PATH

<span id="prop_tgt:XCODE_EMBED_<type>_PATH">
XCODE_EMBED_<type>_PATH¶

New in version 3.20.

This property is used only by the Xcode generator.  When defined,
it specifies the relative path to use when embedding the items specified by
XCODE_EMBED_<type>.  The path is relative
to the base location of the Embed XXX build phase associated with
<type>.  See the Xcode documentation for the base location of each
<type>.

The supported values for <type> are:

FRAMEWORKS

APP_EXTENSIONS

New in version 3.21.

EXTENSIONKIT_EXTENSIONS

New in version 3.26.

PLUGINS

New in version 3.23.

RESOURCES

New in version 3.28.

XPC_SERVICES

New in version 3.29.

Previous topic

XCODE_EMBED_<type>_CODE_SIGN_ON_COPY

Next topic

XCODE_EMBED_<type>_REMOVE_HEADERS_ON_COPY

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

XCODE_EMBED_<type>_PATH

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


code:
<!DOCTYPE html>

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

  <title>XCODE_EMBED_<type>_REMOVE_HEADERS_ON_COPY — 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="XCODE_EXPLICIT_FILE_TYPE" href="XCODE_EXPLICIT_FILE_TYPE.html" />
    <link rel="prev" title="XCODE_EMBED_<type>_PATH" href="XCODE_EMBED_type_PATH.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

XCODE_EMBED_<type>_REMOVE_HEADERS_ON_COPY

<span id="prop_tgt:XCODE_EMBED_<type>_REMOVE_HEADERS_ON_COPY">
XCODE_EMBED_<type>_REMOVE_HEADERS_ON_COPY¶

New in version 3.20.

Boolean property used only by the Xcode generator.  It specifies
whether to remove headers from all the frameworks that are embedded using the
XCODE_EMBED_<type> property.

The supported values for <type> are:

FRAMEWORKS

If the XCODE_EMBED_FRAMEWORKS_REMOVE_HEADERS_ON_COPY property is not
defined, headers will not be removed on copy by default.

APP_EXTENSIONS

New in version 3.21.

If the XCODE_EMBED_APP_EXTENSIONS_REMOVE_HEADERS_ON_COPY property is not
defined, headers WILL be removed on copy by default.

EXTENSIONKIT_EXTENSIONS

New in version 3.26.

If the XCODE_EMBED_APP_EXTENSIONS_REMOVE_HEADERS_ON_COPY property is not
defined, headers WILL be removed on copy by default.

PLUGINS

New in version 3.23.

Previous topic

XCODE_EMBED_<type>_PATH

Next topic

XCODE_EXPLICIT_FILE_TYPE

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

XCODE_EMBED_<type>_REMOVE_HEADERS_ON_COPY

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

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

    <link rel="icon" href="../_static/cmake-favicon.ico"/>
    <link rel="index" title="Index" href="../genindex.html" />
    <link rel="search" title="Search" href="../search.html" />
    <link rel="next" title="XCODE_GENERATE_SCHEME" href="XCODE_GENERATE_SCHEME.html" />
    <link rel="prev" title="XCODE_EMBED_<type>_REMOVE_HEADERS_ON_COPY" href="XCODE_EMBED_type_REMOVE_HEADERS_ON_COPY.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

XCODE_EXPLICIT_FILE_TYPE

XCODE_EXPLICIT_FILE_TYPE¶

New in version 3.8.

Set the Xcode explicitFileType attribute on its reference to a
target.  CMake computes a default based on target type but
can be told explicitly with this property.

See also XCODE_PRODUCT_TYPE.

Previous topic

XCODE_EMBED_<type>_REMOVE_HEADERS_ON_COPY

Next topic

XCODE_GENERATE_SCHEME

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

XCODE_EXPLICIT_FILE_TYPE

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


code:
<!DOCTYPE html>

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

  <title>XCODE_GENERATE_SCHEME — 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="XCODE_LINK_BUILD_PHASE_MODE" href="XCODE_LINK_BUILD_PHASE_MODE.html" />
    <link rel="prev" title="XCODE_EXPLICIT_FILE_TYPE" href="XCODE_EXPLICIT_FILE_TYPE.html" />

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

XCODE_GENERATE_SCHEME

XCODE_GENERATE_SCHEME¶

New in version 3.15.

If enabled, the Xcode generator will generate schema files.  These
are useful to invoke analyze, archive, build-for-testing and test
actions from the command line.

This property is initialized by the value of the variable
CMAKE_XCODE_GENERATE_SCHEME if it is set when a target
is created.

The following target properties overwrite the default of the
corresponding settings on the "Diagnostic" tab for each schema file.
Each of those is initialized by the respective CMAKE_ variable
at target creation time.

XCODE_SCHEME_ADDRESS_SANITIZER

XCODE_SCHEME_ADDRESS_SANITIZER_USE_AFTER_RETURN

XCODE_SCHEME_DISABLE_MAIN_THREAD_CHECKER

XCODE_SCHEME_DYNAMIC_LIBRARY_LOADS

XCODE_SCHEME_DYNAMIC_LINKER_API_USAGE

XCODE_SCHEME_GUARD_MALLOC

XCODE_SCHEME_MAIN_THREAD_CHECKER_STOP

XCODE_SCHEME_MALLOC_GUARD_EDGES

XCODE_SCHEME_MALLOC_SCRIBBLE

XCODE_SCHEME_MALLOC_STACK

XCODE_SCHEME_THREAD_SANITIZER

XCODE_SCHEME_THREAD_SANITIZER_STOP

XCODE_SCHEME_UNDEFINED_BEHAVIOUR_SANITIZER

XCODE_SCHEME_UNDEFINED_BEHAVIOUR_SANITIZER_STOP

XCODE_SCHEME_LAUNCH_CONFIGURATION

XCODE_SCHEME_ENABLE_GPU_API_VALIDATION

XCODE_SCHEME_ENABLE_GPU_SHADER_VALIDATION

XCODE_SCHEME_ZOMBIE_OBJECTS

The following target properties will be applied on the
"Info", "Arguments", and "Options" tab:

XCODE_SCHEME_ARGUMENTS

XCODE_SCHEME_DEBUG_AS_ROOT

XCODE_SCHEME_DEBUG_DOCUMENT_VERSIONING

XCODE_SCHEME_ENABLE_GPU_FRAME_CAPTURE_MODE

XCODE_SCHEME_ENVIRONMENT

XCODE_SCHEME_EXECUTABLE

XCODE_SCHEME_LAUNCH_MODE

XCODE_SCHEME_WORKING_DIRECTORY

Previous topic

XCODE_EXPLICIT_FILE_TYPE

Next topic

XCODE_LINK_BUILD_PHASE_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-properties(7) »

XCODE_GENERATE_SCHEME

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

XCODE_LINK_BUILD_PHASE_MODE

XCODE_LINK_BUILD_PHASE_MODE¶

New in version 3.19.

When using the Xcode generator, libraries to be linked will be
specified in the Xcode project file using either the "Link Binary With
Libraries" build phase or directly as linker flags.  The former allows Xcode
to manage build paths, which may be necessary when creating Xcode archives
because it may use different build paths to a regular build.

This property controls usage of "Link Binary With Libraries" build phase for
a target that is an app bundle, executable, shared library, shared framework
or a module library.

Possible values are:

NONE
The libraries will be linked by specifying the linker flags directly.

BUILT_ONLY
The "Link Binary With Libraries" build phase will be used to link to another
target under the following conditions:

The target to be linked to is a regular non-imported, non-interface library
target.

The output directory of the target being built has not been changed from
its default (see RUNTIME_OUTPUT_DIRECTORY and
LIBRARY_OUTPUT_DIRECTORY).

KNOWN_LOCATION
The "Link Binary With Libraries" build phase will be used to link to another
target under the same conditions as with BUILT_ONLY and also:

Imported library targets except those of type UNKNOWN.

Any non-target library specified directly with a path.

For all other cases, the libraries will be linked by specifying the linker
flags directly.

Warning

Libraries linked using "Link Binary With Libraries" are linked after the
ones linked through regular linker flags.  This order should be taken into
account when different static libraries contain symbols with the same name,
as the former ones will take precedence over the latter.

Warning

If two or more directories contain libraries with identical file names and
some libraries are linked from those directories, the library search path
lookup will end up linking libraries from the first directory.  This is a
known limitation of Xcode.

This property is initialized by the value of the
CMAKE_XCODE_LINK_BUILD_PHASE_MODE variable if it is set when a
target is created.

Previous topic

XCODE_GENERATE_SCHEME

Next topic

XCODE_PRODUCT_TYPE

This Page

Show Source

Quick search

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

XCODE_LINK_BUILD_PHASE_MODE

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


code:
<!DOCTYPE html>

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

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

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

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

Navigation

          index

          next |

          previous |

    CMake »

    3.29.0-rc3 Documentation »

cmake-properties(7) »

XCODE_PRODUCT_TYPE

XCODE_PRODUCT_TYPE¶

New in version 3.8.

Set the Xcode productType attribute on its reference to a
target.  CMake computes a default based on target type but
can be told explicitly with this property.

See also XCODE_EXPLICIT_FILE_TYPE.

Previous topic

XCODE_LINK_BUILD_PHASE_MODE

Next topic

XCODE_SCHEME_ADDRESS_SANITIZER

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

XCODE_PRODUCT_TYPE

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