Automatically add source directory to "CPPPATH" of Build System

This commit is contained in:
Ivan Kravets
2016-05-29 18:09:21 +03:00
parent f6014d2e52
commit ab15bafc5b
2 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@ PlatformIO 2.0
* Simplified documentation for `Continuous Integration with AppVeyor <http://docs.platformio.org/en/latest/ci/appveyor.html>`__
(`issue #671 <https://github.com/platformio/platformio/issues/671>`_)
* Automatically add source directory to ``CPPPATH`` of Build System
* Added support for Silicon Labs SLSTK3401A (Pearl Gecko) and
MultiTech mDot F411 ARM mbed based boards
* Added support for MightyCore ATmega8535 board

View File

@ -80,6 +80,7 @@ def BuildProgram(env):
env.Append(
CPPDEFINES=["PLATFORMIO={0:02d}{1:02d}{2:02d}".format(
*pioversion_to_intstr())],
CPPPATH=["$PROJECTSRC_DIR"],
LIBS=deplibs,
LIBPATH=["$BUILD_DIR"]
)