Skip to content

Commit 745ecd9

Browse files
committed
feat: add 'CUSTOM_COMPILE' symbol for custom compiler
1 parent 2e49e4c commit 745ecd9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Plugins/CSharpCompilerSettings/CscSettingsAsset.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@ public string GetSymbolModifier(string asmdefPath)
174174
sb.Append(LVersion.CSharp7_3 <= v ? "CSHARP_7_3_OR_NEWER;" : "!CSHARP_7_3_OR_NEWER;");
175175
sb.Append(LVersion.CSharp8 <= v ? "CSHARP_8_OR_NEWER;" : "!CSHARP_8_OR_NEWER;");
176176
sb.Append(LVersion.CSharp9 <= v ? "CSHARP_9_OR_NEWER;" : "!CSHARP_9_OR_NEWER;");
177+
178+
sb.Append("CUSTOM_COMPILE;");
177179
}
178180

179181
if (!IsProjectSetting && 0 < m_SymbolModifier.Length)

0 commit comments

Comments
 (0)