VS_CSHARP_<tagname>

於 3.8 版本新增。

Visual Studio 和 CSharp 原始碼檔案特定設定。

告訴 Visual Studio 產生器 在產生的 Visual Studio CSharp 專案中將原始碼檔案標籤 <tagname> 設定為指定值。在其他產生器和語言中會被忽略。此屬性可用於定義原始碼檔案之間的相依性或設定任何其他 Visual Studio 特定參數。

使用範例

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