forked from platformio/platformio-core
Specify particular platform for c_cpp configuration
This commit is contained in:
@ -1,6 +1,15 @@
|
||||
{
|
||||
"configurations": [
|
||||
{
|
||||
% import platform
|
||||
% systype = platform.system().lower()
|
||||
% if systype == "windows":
|
||||
"name": "Win32",
|
||||
% elif systype == "darwin":
|
||||
"name": "Mac",
|
||||
% else:
|
||||
"name": "Linux",
|
||||
% end
|
||||
"includePath": [
|
||||
% for include in includes:
|
||||
"{{include.replace('"', '\\"').replace('\\\\', '/').replace('\\', '/')}}",
|
||||
|
Reference in New Issue
Block a user