mirror of https://github.com/ARMmbed/mbed-os.git
Add list of defines to vscode exporter
parent
acdd7dd424
commit
c921717ba7
|
@ -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()]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue