Merge pull request #93753 from Repiteo/scons/visual-studio-fixes

SCons: Fix output with `vsproj=yes`
This commit is contained in:
Rémi Verschelde
2024-07-22 17:30:25 +02:00
3 changed files with 15 additions and 7 deletions

View File

@ -1057,9 +1057,9 @@ SConscript("platform/" + env["platform"] + "/SCsub") # Build selected platform.
# Microsoft Visual Studio Project Generation
if env["vsproj"]:
methods.generate_cpp_hint_file("cpp.hint")
env["CPPPATH"] = [Dir(path) for path in env["CPPPATH"]]
methods.generate_vs_project(env, ARGUMENTS, env["vsproj_name"])
methods.generate_cpp_hint_file("cpp.hint")
# Check for the existence of headers
conf = Configure(env)