Escape compiler path for Win

This commit is contained in:
Ivan Kravets committed 2018-04-20 14:00:40 +03:00
1 parent b77160d363
commit 3ce62fbafe
1 file changed
+1 -1
@@ -53,7 +53,7 @@
% if STD_RE.search(cxx_flags):
"cppStandard": "c++{{ STD_RE.search(cxx_flags).group(1) }}",
% end
"compilerPath": "{{ cc_path }}"
"compilerPath": "{{ cc_path.replace('\\\\', '/').replace('\\', '/').replace('"', '\\"') }}"
}
]
}