Add list of defines to vscode exporter

pull/4850/head
Jan Jongboom 2017-08-03 12:44:40 +02:00
parent acdd7dd424
commit c921717ba7
1 changed files with 6 additions and 3 deletions

View File

@ -63,15 +63,18 @@ class VSCode(Makefile):
"configurations": [ "configurations": [
{ {
"name": "Windows", "name": "Windows",
"includePath": [x.replace("/", "\\") for x in all_directories] "includePath": [x.replace("/", "\\") for x in all_directories],
"defines": [symbol for symbol in self.toolchain.get_symbols()]
}, },
{ {
"name": "Mac", "name": "Mac",
"includePath": all_directories "includePath": all_directories,
"defines": [symbol for symbol in self.toolchain.get_symbols()]
}, },
{ {
"name": "Linux", "name": "Linux",
"includePath": all_directories "includePath": all_directories,
"defines": [symbol for symbol in self.toolchain.get_symbols()]
} }
] ]
} }