import methods123# Tuples with the name of the arch that will be used in VS, mapped to our internal arch names.4# For Windows platforms, Win32 is what VS wants. For other platforms, it can be different.5def get_platforms():6return [("Win32", "x86_32"), ("x64", "x86_64")]789def get_configurations():10return ["editor", "template_debug", "template_release"]111213def get_build_prefix(env):14if not env.msvc:15return []16batch_file = methods.find_visual_c_batch_file(env)17return [18"cmd /V /C",19"set "plat=$(PlatformTarget)"",20"^& (if "$(PlatformTarget)"=="x64" (set "plat=x86_amd64"))",21f"^& call "{batch_file}" !plat!",22"^&",23]242526