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
CSharpUtilitiesmodule 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