From 523c7beefc170395fd3f49cf4609aadb8e986ad1 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Fri, 10 May 2019 14:01:18 -0700 Subject: [PATCH] docs/markdown: add snippet for intel-cl support --- docs/markdown/snippets/intel-cl.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 docs/markdown/snippets/intel-cl.md 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 +```