Vs2010 fix from mfrischknecht. Closes #98.
This commit is contained in:
parent
e240c4abaa
commit
a8803faf04
|
@ -12,3 +12,5 @@ Robin McCorkell
|
|||
Axel Waggershauser
|
||||
Igor Gnatenko
|
||||
Hemmo Nieminen
|
||||
mfrischknecht
|
||||
|
||||
|
|
|
@ -143,7 +143,11 @@ class Vs2010Backend(backends.Backend):
|
|||
def target_to_build_root(self, target):
|
||||
if target.subdir == '':
|
||||
return ''
|
||||
return '/'.join(['..']*(len(os.path.split(target.subdir))-1))
|
||||
|
||||
directories = os.path.split(target.subdir)
|
||||
directories = list(filter(bool,directories)) #Filter out empty strings
|
||||
|
||||
return '/'.join(['..']*len(directories))
|
||||
|
||||
def special_quote(self, arr):
|
||||
return ['"%s"' % i for i in arr]
|
||||
|
|
Loading…
Reference in New Issue