Significantly improve "Project Generator" // Resolve #280

This commit is contained in:
Ivan Kravets
2015-09-04 19:31:59 +03:00
parent e1ee61d31b
commit a032026f46
17 changed files with 123 additions and 71 deletions
+4 -2
View File
@@ -7,7 +7,7 @@ from glob import glob
from os import environ, remove
from os.path import basename, join
from platformio.util import exec_command
from platformio.util import exec_command, where_is_program
class InoToCPPConverter(object):
@@ -122,7 +122,9 @@ def ConvertInoToCpp(env):
def DumpIDEData(env):
data = {
"defines": [],
"includes": []
"includes": [],
"cxx_path": where_is_program(
env.subst("$CXX"), env.subst("${ENV['PATH']}"))
}
# includes from framework and libs