forked from platformio/platformio-core
Fix resolving of C/C++ std libs by Eclipse IDE // Resolve #220
This commit is contained in:
@ -1,6 +1,12 @@
|
|||||||
Release History
|
Release History
|
||||||
===============
|
===============
|
||||||
|
|
||||||
|
2.0.3 (2015-??-??)
|
||||||
|
------------------
|
||||||
|
|
||||||
|
* Fixed resolving of C/C++ std libs by Eclipse IDE
|
||||||
|
(`issue #220 <https://github.com/platformio/platformio/issues/220>`_)
|
||||||
|
|
||||||
2.0.2 (2015-05-27)
|
2.0.2 (2015-05-27)
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# Copyright (C) Ivan Kravets <me@ikravets.com>
|
# Copyright (C) Ivan Kravets <me@ikravets.com>
|
||||||
# See LICENSE for details.
|
# See LICENSE for details.
|
||||||
|
|
||||||
VERSION = (2, 0, 2)
|
VERSION = (2, 0, "3.dev0")
|
||||||
__version__ = ".".join([str(s) for s in VERSION])
|
__version__ = ".".join([str(s) for s in VERSION])
|
||||||
|
|
||||||
__title__ = "platformio"
|
__title__ = "platformio"
|
||||||
|
@ -426,10 +426,14 @@ def DumpIDEData(env):
|
|||||||
data['includes'].append(env.subst(item[1]))
|
data['includes'].append(env.subst(item[1]))
|
||||||
|
|
||||||
# includes from toolchain
|
# includes from toolchain
|
||||||
for item in glob(env.subst(
|
toolchain_dir = env.subst(
|
||||||
join("$PIOPACKAGES_DIR", "$PIOPACKAGE_TOOLCHAIN",
|
join("$PIOPACKAGES_DIR", "$PIOPACKAGE_TOOLCHAIN"))
|
||||||
"*", "include"))):
|
toolchain_incglobs = [
|
||||||
data['includes'].append(item)
|
join(toolchain_dir, "*", "include"),
|
||||||
|
join(toolchain_dir, "lib", "gcc", "*", "*", "include")
|
||||||
|
]
|
||||||
|
for g in toolchain_incglobs:
|
||||||
|
data['includes'].extend(glob(g))
|
||||||
|
|
||||||
# global symbols
|
# global symbols
|
||||||
for item in env.get("CPPDEFINES", []):
|
for item in env.get("CPPDEFINES", []):
|
||||||
|
Reference in New Issue
Block a user