aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-05-10 14:01:18 -0700
committerDylan Baker <dylan@pnwbakers.com>2019-05-13 11:22:31 -0700
commit523c7beefc170395fd3f49cf4609aadb8e986ad1 (patch)
tree6c772175fb7bc55368308149d9d3c8bfa3368730 /docs
parentbe88945ee38dde0aadb77bdb69e9c8ac7eceb832 (diff)
downloadmeson-523c7beefc170395fd3f49cf4609aadb8e986ad1.zip
meson-523c7beefc170395fd3f49cf4609aadb8e986ad1.tar.gz
meson-523c7beefc170395fd3f49cf4609aadb8e986ad1.tar.bz2
docs/markdown: add snippet for intel-cl support
Diffstat (limited to 'docs')
-rw-r--r--docs/markdown/snippets/intel-cl.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/markdown/snippets/intel-cl.md b/docs/markdown/snippets/intel-cl.md
new file mode 100644
index 0000000..d866e70
--- /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
+```