mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Use toolchain's includes pattern "include*" for Project Generator // Resolve #277
This commit is contained in:
@ -29,6 +29,8 @@ PlatformIO 2.0
|
||||
(`issue #272 <https://github.com/platformio/platformio/issues/272>`_)
|
||||
* Generate "readme.txt" for project "lib" directory
|
||||
(`issue #273 <https://github.com/platformio/platformio/issues/273>`_)
|
||||
* Use toolchain's includes pattern ``include*`` for Project Generator
|
||||
(`issue #277 <https://github.com/platformio/platformio/issues/277>`_)
|
||||
* Fixed includes list for Windows OS when generating project for `Eclipse IDE <http://docs.platformio.org/en/latest/ide/eclipse.html>`__
|
||||
(`issue #270 <https://github.com/platformio/platformio/issues/270>`_)
|
||||
* Fixed ``AttributeError: 'module' object has no attribute 'packages'``
|
||||
|
@ -1,7 +1,7 @@
|
||||
# Copyright (C) Ivan Kravets <me@ikravets.com>
|
||||
# See LICENSE for details.
|
||||
|
||||
VERSION = (2, 3, "0a2")
|
||||
VERSION = (2, 3, "0a3")
|
||||
__version__ = ".".join([str(s) for s in VERSION])
|
||||
|
||||
__title__ = "platformio"
|
||||
|
@ -135,8 +135,8 @@ def DumpIDEData(env):
|
||||
toolchain_dir = env.subst(
|
||||
join("$PIOPACKAGES_DIR", "$PIOPACKAGE_TOOLCHAIN"))
|
||||
toolchain_incglobs = [
|
||||
join(toolchain_dir, "*", "include"),
|
||||
join(toolchain_dir, "lib", "gcc", "*", "*", "include")
|
||||
join(toolchain_dir, "*", "include*"),
|
||||
join(toolchain_dir, "lib", "gcc", "*", "*", "include*")
|
||||
]
|
||||
for g in toolchain_incglobs:
|
||||
data['includes'].extend(glob(g))
|
||||
|
Reference in New Issue
Block a user