You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Let VS solution name be overridden
This commit is contained in:
@@ -732,7 +732,7 @@ def add_to_vs_project(env, sources):
|
||||
env.vs_srcs += [basename + ".cpp"]
|
||||
|
||||
|
||||
def generate_vs_project(env, num_jobs):
|
||||
def generate_vs_project(env, num_jobs, project_name="godot"):
|
||||
batch_file = find_visual_c_batch_file(env)
|
||||
if batch_file:
|
||||
|
||||
@@ -873,7 +873,7 @@ def generate_vs_project(env, num_jobs):
|
||||
env["MSVS"]["PROJECTSUFFIX"] = ".vcxproj"
|
||||
env["MSVS"]["SOLUTIONSUFFIX"] = ".sln"
|
||||
env.MSVSProject(
|
||||
target=["#godot" + env["MSVSPROJECTSUFFIX"]],
|
||||
target=["#" + project_name + env["MSVSPROJECTSUFFIX"]],
|
||||
incs=env.vs_incs,
|
||||
srcs=env.vs_srcs,
|
||||
auto_build_solution=1,
|
||||
|
||||
Reference in New Issue
Block a user