Skip to content

VS/Intel: Linker flags incorrectly prefixed with "Intel C++ Compiler 2024" toolset

When using the Visual Studio 16 2019 generator together with the Intel C++ Compiler 2024 toolset, CMake prefixes linker flags with /Qoption,link,.

So /machine:x64 becomes /Qoption,link,/machine:x64 , while this is correct when using icx to link binaries (e.g. when using Ninja), the Intel toolset in Visual Studio is using xilink to link binaries. xilink is just a wrapper of link.exe and doesn't know about such prefixed options and issues a warning.

I think for Visual Studio generators, linker flags should not be prefixed.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information