Spec-Zone.ru › CMake

VS_CSHARP_<tagname>

Added in version 3.8.

Visual Studio and CSharp source-file-specific configuration.

Tell the Visual Studio Generators to set the source file tag <tagname> to a given value in the generated Visual Studio CSharp project. Ignored on other generators and languages. This property can be used to define dependencies between source files or set any other Visual Studio specific parameters.

Examples

Example usage:

set_source_files_properties(<filename>
         PROPERTIES
         VS_CSHARP_DependentUpon <other file>
         VS_CSHARP_SubType "Form")

See Also

  • The CSharpUtilities module for configuring CSharp/.NET targets.

© 2000–2026 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/latest/prop_sf/VS_CSHARP_tagname.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API