diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-05-10 14:01:18 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-05-13 11:22:31 -0700 |
commit | 523c7beefc170395fd3f49cf4609aadb8e986ad1 (patch) | |
tree | 6c772175fb7bc55368308149d9d3c8bfa3368730 /docs/markdown | |
parent | be88945ee38dde0aadb77bdb69e9c8ac7eceb832 (diff) | |
download | meson-523c7beefc170395fd3f49cf4609aadb8e986ad1.zip meson-523c7beefc170395fd3f49cf4609aadb8e986ad1.tar.gz meson-523c7beefc170395fd3f49cf4609aadb8e986ad1.tar.bz2 |
docs/markdown: add snippet for intel-cl support
Diffstat (limited to 'docs/markdown')
-rw-r--r-- | docs/markdown/snippets/intel-cl.md | 13 |
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 +``` |