Escape compiler path for Win

This commit is contained in:
Ivan Kravets
2018-04-20 14:00:40 +03:00
parent b77160d363
commit 3ce62fbafe

View File

@ -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('"', '\\"') }}"
}
]
}