Pass extra files with compiler options to VSCode IntelliSense tool

This commit is contained in:
Ivan Kravets
2019-12-17 22:40:28 +02:00
parent b4088a6d00
commit b15ddc00a5

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", "-i"))])
% 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] }}",