Merge pull request #13056 from RoyBerube/master

Visual Studio project creation bug fix

[ci skip]
This commit is contained in:
Rémi Verschelde 2017-11-19 22:16:17 +01:00 committed by GitHub
commit a5939c2953
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

5
drivers/SCsub vendored
View file

@ -34,7 +34,12 @@ if env['tools']:
SConscript("convex_decomp/SCsub")
if env['vsproj']:
import os
path = os.getcwd()
# Change directory so the path resolves correctly in the function call.
os.chdir("..")
env.AddToVSProject(env.drivers_sources)
os.chdir(path)
if env.split_drivers:
env.split_lib("drivers")