diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2020-06-15 21:29:16 +0200 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2020-06-15 21:29:16 +0200 |
commit | 54df72dcc6b60693234880e7b1e4dde3a8f082f5 (patch) | |
tree | 008ad3b3a1293ef42c3000cb572a1577c65e3366 /modules/mono/build_scripts | |
parent | 17af0104785eac9c416bb89989d82e2968f8ab8f (diff) |
C#: Add VisualStudio support
Diffstat (limited to 'modules/mono/build_scripts')
-rw-r--r-- | modules/mono/build_scripts/godot_tools_build.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/mono/build_scripts/godot_tools_build.py b/modules/mono/build_scripts/godot_tools_build.py index 7391e8790d..3bbbf29d3b 100644 --- a/modules/mono/build_scripts/godot_tools_build.py +++ b/modules/mono/build_scripts/godot_tools_build.py @@ -15,7 +15,9 @@ def build_godot_tools(source, target, env): from .solution_builder import build_solution - build_solution(env, solution_path, build_config) + extra_msbuild_args = ["/p:GodotPlatform=" + env["platform"]] + + build_solution(env, solution_path, build_config, extra_msbuild_args) # No need to copy targets. The GodotTools csproj takes care of copying them. |