summaryrefslogtreecommitdiffstats
path: root/modules/mono/editor/godotsharp_builds.cpp
diff options
context:
space:
mode:
authorIgnacio Etcheverry <neikeq@users.noreply.github.com>2018-08-17 14:16:47 +0200
committerGitHub <noreply@github.com>2018-08-17 14:16:47 +0200
commitc93888ae71bcc2b633f335b407c75412a493012d (patch)
tree43e39e49f1c2c0410f30bb5e14362016b63db606 /modules/mono/editor/godotsharp_builds.cpp
parent1f65ed6a7d91a9882fd79e7cae80c923e0f96133 (diff)
parent72873004332be8cb39ff24f0195fa5bd04ec570d (diff)
downloadredot-engine-c93888ae71bcc2b633f335b407c75412a493012d.tar.gz
Merge pull request #21116 from neikeq/improve-cs_files
Mono: Improve C# core files (glue/cs_files) buildsystem
Diffstat (limited to 'modules/mono/editor/godotsharp_builds.cpp')
-rw-r--r--modules/mono/editor/godotsharp_builds.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/mono/editor/godotsharp_builds.cpp b/modules/mono/editor/godotsharp_builds.cpp
index b3b259e851..0fb8734410 100644
--- a/modules/mono/editor/godotsharp_builds.cpp
+++ b/modules/mono/editor/godotsharp_builds.cpp
@@ -210,6 +210,8 @@ bool GodotSharpBuilds::build_api_sln(const String &p_name, const String &p_api_s
if (!FileAccess::exists(api_assembly_file)) {
MonoBuildInfo api_build_info(api_sln_file, p_config);
+ // TODO Replace this global NoWarn with '#pragma warning' directives on generated files,
+ // once we start to actively document manually maintained C# classes
api_build_info.custom_props.push_back("NoWarn=1591"); // Ignore missing documentation warnings
if (!GodotSharpBuilds::get_singleton()->build(api_build_info)) {