mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-31 18:44:27 +02:00
Escape compiler path for Win
This commit is contained in:
@@ -53,7 +53,7 @@
|
|||||||
% if STD_RE.search(cxx_flags):
|
% if STD_RE.search(cxx_flags):
|
||||||
"cppStandard": "c++{{ STD_RE.search(cxx_flags).group(1) }}",
|
"cppStandard": "c++{{ STD_RE.search(cxx_flags).group(1) }}",
|
||||||
% end
|
% end
|
||||||
"compilerPath": "{{ cc_path }}"
|
"compilerPath": "{{ cc_path.replace('\\\\', '/').replace('\\', '/').replace('"', '\\"') }}"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
Reference in New Issue
Block a user