You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Mono: Use msbuild instead of nuget.exe for restoring
- Make GodotTools output directly to the SCons output directory. - Removed xbuild_fallback from the build system.
This commit is contained in:
@@ -13,13 +13,9 @@ def build_godot_tools(source, target, env):
|
||||
solution_path = os.path.join(module_dir, "editor/GodotTools/GodotTools.sln")
|
||||
build_config = "Debug" if env["target"] == "debug" else "Release"
|
||||
|
||||
# Custom build target to make sure output is always copied to the data dir.
|
||||
extra_build_args = ["/Target:Build;GodotTools:BuildAlwaysCopyToDataDir"]
|
||||
from .solution_builder import build_solution
|
||||
|
||||
from .solution_builder import build_solution, nuget_restore
|
||||
|
||||
nuget_restore(env, solution_path)
|
||||
build_solution(env, solution_path, build_config, extra_build_args)
|
||||
build_solution(env, solution_path, build_config, restore=True)
|
||||
# No need to copy targets. The GodotTools csproj takes care of copying them.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user