You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Fix .sln project generation logic for Rider to support all OS and all C++ toolchains
Co-authored-by: Andreia Gaita <shana@spoiledcat.net> Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
This commit is contained in:
@@ -12,9 +12,13 @@ def get_configurations():
|
||||
|
||||
|
||||
def get_build_prefix(env):
|
||||
if not env.msvc:
|
||||
return []
|
||||
batch_file = methods.find_visual_c_batch_file(env)
|
||||
return [
|
||||
"cmd /V /C",
|
||||
"set "plat=$(PlatformTarget)"",
|
||||
"(if "$(PlatformTarget)"=="x64" (set "plat=x86_amd64"))",
|
||||
f"call "{batch_file}" !plat!",
|
||||
"^& (if "$(PlatformTarget)"=="x64" (set "plat=x86_amd64"))",
|
||||
f"^& call "{batch_file}" !plat!",
|
||||
"^&",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user