Pass -m and -i flags to VSCode Intellisense analyzer

This commit is contained in:
Ivan Kravets
2019-11-15 15:11:13 +02:00
parent a077081e46
commit 44a9de6dcb

View File

@ -56,7 +56,7 @@
% cxx_stds = STD_RE.findall(cxx_flags)
%
% # pass only architecture specific flags
% cc_m_flags = " ".join([f.strip() for f in cc_flags.split(" ") if f.strip().startswith("-m")])
% cc_m_flags = " ".join([f.strip() for f in cc_flags.split(" ") if f.strip().startswith(("-m", "-i"))])
%
% if cc_stds:
"cStandard": "c{{ cc_stds[-1] }}",
@ -68,4 +68,4 @@
}
],
"version": 4
}
}