Skip to content

Commit

Permalink
Use toolchain's includes pattern "include*" for Project Generator // R…
Browse files Browse the repository at this point in the history
…esolve #277
  • Loading branch information
ivankravets committed Aug 25, 2015
1 parent 97b8d4e commit abd0257
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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'``
Expand Down
2 changes: 1 addition & 1 deletion platformio/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright (C) Ivan Kravets <[email protected]>
# See LICENSE for details.

VERSION = (2, 3, "0a2")
VERSION = (2, 3, "0a3")
__version__ = ".".join([str(s) for s in VERSION])

__title__ = "platformio"
Expand Down
4 changes: 2 additions & 2 deletions platformio/builder/tools/piomisc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit abd0257

Please sign in to comment.