Multi-Version Compiler Support
You can select different versions of the
Intel® oneAPI
for compiling projects with the Eclipse* Integrated Development Environment (IDE). For a list of the currently supported compiler versions by platform, refer to the Release Notes.
DPC++/C++
CompilerIf multiple versions of the compiler are installed on the system, Eclipse uses the latest version by default. To select the version of the compiler to build your project:
- Right click the project and openProperties.
- In the properties dialog box, select.
- Select thefor a C++ project tab.Intel(R) oneAPI DPC++ Compilerfor a DPC++ project, or theIntel® C++ Compiler
- Select the row with the desired compiler version.
- ClickUse Selected. Alternatively, clickUse Latestto select the latest version of compiler.
- ClickApply.
The corresponding compiler environment is configured automatically for your project.
Use
Settings
and
Tool Chain Editor
to select tools to be used within the toolchain, or set distinct project properties, like compiler options, to be used with different versions of the compiler.
For any project, you can set the compiler environment by specifying it within Eclipse; this overrides any other environment specifications for the compiler.