mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Split source files to HEADERS and SOURCES when generate project for Qt Creator IDE // Resolve #713
This commit is contained in:
@ -13,8 +13,11 @@ PlatformIO 2.0
|
|||||||
Cortex-M3 MCU based boards (Arduino Due, etc)
|
Cortex-M3 MCU based boards (Arduino Due, etc)
|
||||||
(`issue #710 <https://github.com/platformio/platformio/issues/710>`_)
|
(`issue #710 <https://github.com/platformio/platformio/issues/710>`_)
|
||||||
* Fixed missing trailing ``\`` for the source files list when generate project
|
* 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>`_)
|
(`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)
|
2.11.0 (2016-06-28)
|
||||||
~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~
|
||||||
|
@ -20,7 +20,6 @@ from os.path import (abspath, basename, expanduser, isdir, join, normpath,
|
|||||||
relpath)
|
relpath)
|
||||||
|
|
||||||
import bottle
|
import bottle
|
||||||
import click # pylint: disable=wrong-import-order
|
|
||||||
|
|
||||||
from platformio import app, exception, util
|
from platformio import app, exception, util
|
||||||
|
|
||||||
|
@ -17,9 +17,12 @@ INCLUDEPATH += "{{include}}"
|
|||||||
DEFINES += "{{define}}"
|
DEFINES += "{{define}}"
|
||||||
% end
|
% end
|
||||||
|
|
||||||
OTHER_FILES += \
|
OTHER_FILES += platformio.ini
|
||||||
platformio.ini
|
|
||||||
|
|
||||||
% for file in src_files:
|
% for file in src_files:
|
||||||
|
% if file.endswith((".h", ".hpp")):
|
||||||
|
HEADERS += {{file}}
|
||||||
|
% else:
|
||||||
SOURCES += {{file}}
|
SOURCES += {{file}}
|
||||||
% end
|
% end
|
||||||
|
% end
|
||||||
|
Reference in New Issue
Block a user