Split source files to HEADERS and SOURCES when generate project for Qt Creator IDE // Resolve #713

This commit is contained in:
Ivan Kravets
2016-07-04 23:42:19 +03:00
parent e8acc9ca39
commit 52f1502051
3 changed files with 9 additions and 4 deletions

View File

@ -13,8 +13,11 @@ PlatformIO 2.0
Cortex-M3 MCU based boards (Arduino Due, etc)
(`issue #710 <https://github.com/platformio/platformio/issues/710>`_)
* Fixed missing trailing ``\`` for the source files list when generate project
for Qt Creator IDE
for `Qt Creator IDE <http://docs.platformio.org/en/latest/ide/qtcreator.html>`__
(`issue #711 <https://github.com/platformio/platformio/issues/711>`_)
* Split source files to ``HEADERS`` and ``SOURCES`` when generate project
for `Qt Creator IDE <http://docs.platformio.org/en/latest/ide/qtcreator.html>`__
(`issue #713 <https://github.com/platformio/platformio/issues/713>`_)
2.11.0 (2016-06-28)
~~~~~~~~~~~~~~~~~~~

View File

@ -20,7 +20,6 @@ from os.path import (abspath, basename, expanduser, isdir, join, normpath,
relpath)
import bottle
import click # pylint: disable=wrong-import-order
from platformio import app, exception, util

View File

@ -17,9 +17,12 @@ INCLUDEPATH += "{{include}}"
DEFINES += "{{define}}"
% end
OTHER_FILES += \
platformio.ini
OTHER_FILES += platformio.ini
% for file in src_files:
% if file.endswith((".h", ".hpp")):
HEADERS += {{file}}
% else:
SOURCES += {{file}}
% end
% end