mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 01:57:13 +02:00
Use absolute path for CPP includes when exporting data to IDE
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user