Fix project generator for Qt Creator IDE // Resolve #1303 Resolve #1323

This commit is contained in:
Ivan Kravets
2018-02-05 21:44:37 +02:00
parent 20641bb4ff
commit 53afdc5e02
2 changed files with 5 additions and 1 deletions

View File

@@ -14,6 +14,9 @@ PlatformIO 3.0
* Show all available upload protocols before firmware uploading in a build log
* Handle "os.mbed.com" URL as a Mercurial (hg) repository
* Improved support for old mbed libraries without manifest
* Fixed project generator for Qt Creator IDE
(`issue #1303 <https://github.com/platformio/platformio-core/issues/1303>`_,
`issue #1323 <https://github.com/platformio/platformio-core/issues/1323>`_)
* Fixed issue with duplicated "include" records when generating data for IDE
(`issue #1301 <https://github.com/platformio/platformio-core/issues/1301>`_)

View File

@@ -14,7 +14,8 @@ INCLUDEPATH += "{{include}}"
% end
% for define in defines:
DEFINES += {{!define}}
% tokens = define.split("##", 1)
DEFINES += "{{tokens[0].strip()}}"
% end
OTHER_FILES += platformio.ini