Quantcast
Channel: Intel® Software - Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1175

Using Intel C++ compiler with Visual Studio 2017/2019 cmake

$
0
0

Currently we use Visual Studio 2017 targeting Windows with Visual Studio solutions/projects files.
We want to build/debug our product for both Windows/Linux and trying to use Visual Studio build with cmake.
According to docs.microsoft.com/en-us/cpp/build/cmakesettings-reference?view=vs-2019 :
---

Any custom environment can be used, or these predefined environments:
linux_arm: Target ARM Linux remotely.
linux_x64: Target x64 Linux remotely.
linux_x86: Target x86 Linux remotely.
msvc_arm: Target ARM Windows with the MSVC compiler.
msvc_arm_x64: Target ARM Windows with the 64-bit MSVC compiler.
msvc_arm64: Target ARM64 Windows with the MSVC compiler.
msvc_arm64_x64: Target ARM64 Windows with the 64-bit MSVC compiler.
msvc_x64: Target x64 Windows with the MSVC compiler.
msvc_x64_x64: Target x64 Windows with the 64-bit MSVC compiler.
msvc_x86: Target x86 Windows with the MSVC compiler.
msvc_x86_x64: Target x86 Windows with the 64-bit MSVC compiler.

(though config dialog also mentions Mingw64 as an option).

Can you give recommendations how to configure VS 2017/2019 cmake to use Intel C++ compiler on both Windows and Linux?

Regards,

Sergei.


Viewing all articles
Browse latest Browse all 1175

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>