|
@@ -80,7 +80,7 @@ namespace GodotSharpTools.Project
|
|
|
toolsGroup.AddProperty("DebugSymbols", "true");
|
|
|
toolsGroup.AddProperty("DebugType", "portable");
|
|
|
toolsGroup.AddProperty("Optimize", "false");
|
|
|
- toolsGroup.AddProperty("DefineConstants", "DEBUG;TOOLS;");
|
|
|
+ toolsGroup.AddProperty("DefineConstants", "$(GodotDefineConstants);GODOT;DEBUG;TOOLS;");
|
|
|
toolsGroup.AddProperty("ErrorReport", "prompt");
|
|
|
toolsGroup.AddProperty("WarningLevel", "4");
|
|
|
toolsGroup.AddProperty("ConsolePause", "false");
|
|
@@ -161,7 +161,7 @@ namespace GodotSharpTools.Project
|
|
|
debugGroup.AddProperty("DebugSymbols", "true");
|
|
|
debugGroup.AddProperty("DebugType", "portable");
|
|
|
debugGroup.AddProperty("Optimize", "false");
|
|
|
- debugGroup.AddProperty("DefineConstants", "DEBUG;");
|
|
|
+ debugGroup.AddProperty("DefineConstants", "$(GodotDefineConstants);GODOT;DEBUG;");
|
|
|
debugGroup.AddProperty("ErrorReport", "prompt");
|
|
|
debugGroup.AddProperty("WarningLevel", "4");
|
|
|
debugGroup.AddProperty("ConsolePause", "false");
|
|
@@ -170,6 +170,7 @@ namespace GodotSharpTools.Project
|
|
|
releaseGroup.Condition = " '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ";
|
|
|
releaseGroup.AddProperty("DebugType", "portable");
|
|
|
releaseGroup.AddProperty("Optimize", "true");
|
|
|
+ releaseGroup.AddProperty("DefineConstants", "$(GodotDefineConstants);GODOT;");
|
|
|
releaseGroup.AddProperty("ErrorReport", "prompt");
|
|
|
releaseGroup.AddProperty("WarningLevel", "4");
|
|
|
releaseGroup.AddProperty("ConsolePause", "false");
|