mirror of https://github.com/ARMmbed/mbed-os.git
Vscode export: remove path separator conversion
VSCode handle "/" and it is easier to read.pull/9649/head
parent
e682807bf5
commit
4b1789de22
|
|
@ -68,17 +68,17 @@ class VSCode(Makefile):
|
||||||
{
|
{
|
||||||
"name": "Windows",
|
"name": "Windows",
|
||||||
"forcedInclude": [
|
"forcedInclude": [
|
||||||
"${workspaceRoot}\\mbed_config.h"
|
"${workspaceRoot}/mbed_config.h"
|
||||||
],
|
],
|
||||||
"compilerPath": self.toolchain.cppc[0],
|
"compilerPath": self.toolchain.cppc[0],
|
||||||
"intelliSenseMode": "gcc-x64",
|
"intelliSenseMode": "gcc-x64",
|
||||||
"includePath": [x.replace("/", "\\") for x in all_directories],
|
"includePath": all_directories,
|
||||||
"defines": [symbol for symbol in self.toolchain.get_symbols()]
|
"defines": [symbol for symbol in self.toolchain.get_symbols()]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Mac",
|
"name": "Mac",
|
||||||
"forcedInclude": [
|
"forcedInclude": [
|
||||||
"${workspaceRoot}\\mbed_config.h"
|
"${workspaceRoot}/mbed_config.h"
|
||||||
],
|
],
|
||||||
"compilerPath": self.toolchain.cppc[0],
|
"compilerPath": self.toolchain.cppc[0],
|
||||||
"includePath": all_directories,
|
"includePath": all_directories,
|
||||||
|
|
@ -87,7 +87,7 @@ class VSCode(Makefile):
|
||||||
{
|
{
|
||||||
"name": "Linux",
|
"name": "Linux",
|
||||||
"forcedInclude": [
|
"forcedInclude": [
|
||||||
"${workspaceRoot}\\mbed_config.h"
|
"${workspaceRoot}/mbed_config.h"
|
||||||
],
|
],
|
||||||
"compilerPath": self.toolchain.cppc[0],
|
"compilerPath": self.toolchain.cppc[0],
|
||||||
"includePath": all_directories,
|
"includePath": all_directories,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue