Use absolute path for CPP includes when exporting data to IDE

This commit is contained in:
Ivan Kravets
2018-03-22 12:09:36 +02:00
parent 1461953341
commit 8f7206b186

View File

@ -16,7 +16,7 @@ from __future__ import absolute_import
from glob import glob from glob import glob
from os import environ from os import environ
from os.path import join from os.path import abspath, join
from SCons.Defaults import processDefines from SCons.Defaults import processDefines
@ -57,7 +57,7 @@ def _dump_includes(env):
result = [] result = []
for item in includes: for item in includes:
if item not in result: if item not in result:
result.append(item) result.append(abspath(item))
return result return result