diff --git a/docs/markdown/snippets/intel-cl.md b/docs/markdown/snippets/intel-cl.md new file mode 100644 index 000000000..d866e703e --- /dev/null +++ b/docs/markdown/snippets/intel-cl.md @@ -0,0 +1,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 +```