summaryrefslogtreecommitdiff
path: root/docs/markdown/snippets/intel-cl.md
blob: d866e703e248dc53878051222822535531b4a96e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
## Support for the Intel Compiler on Windows (ICL)

Support has been added for ICL.EXE and ifort on windows. The support should be
on part with ICC support on Linux/MacOS. The ICL C/C++ compiler behaves like
Microsoft's CL.EXE rather than GCC/Clang like ICC does, and has a different id,
`intel-cl` to differentiate it.

```meson
cc = meson.get_compiler('c')
if cc.get_id == 'intel-cl'
  add_project_argument('/Qfoobar:yes', language : 'c')
endif
```