fix build options configuration for Visual Studio projects

This commit is contained in:
Valery Zhuk
2023-07-09 14:19:38 +03:00
parent d2ae309f2c
commit 6158578087
2 changed files with 14 additions and 23 deletions

View File

@ -978,7 +978,7 @@ if selected_platform in platform_list:
print("Error: The `vsproj` option is only usable on Windows with Visual Studio.")
Exit(255)
env["CPPPATH"] = [Dir(path) for path in env["CPPPATH"]]
methods.generate_vs_project(env, GetOption("num_jobs"), env["vsproj_name"])
methods.generate_vs_project(env, ARGUMENTS, env["vsproj_name"])
methods.generate_cpp_hint_file("cpp.hint")
# Check for the existence of headers