Get Started with the Intel® oneAPI Base Toolkit for Windows*
Intel® oneAPI Base Toolkit
Although CMake is not required by the oneAPI tools and toolkits, many oneAPI samples are provided as CMake projects and require CMake to build them.
For Microsoft Windows*, the Visual Studio* C++ Development tools must be installed, including the CMake tools in the Desktop development with C++ workload. Installing the Linux Development with C++ workload will not provide the necessary tools to run all samples. Use the links below to install Visual Studio and CMake.
If you already installed an Intel® oneAPI toolkit before installing Visual Studio, the oneAPI plug-ins for Visual Studio will be absent. If this happens, install Visual Studio and CMake using the links below. Then refer to the Troubleshooting section for instructions on how to fix the plug-ins.
Visual C++ Tools for CMake is installed by default as part of the Desktop Development with C++ workload.
For more information about CMake, refer to CMake.org.
For working at a Command Line Interface (CLI), the tools in the oneAPI toolkits are configured via environment variables. Set up your CLI environment by running the setvars script:
You can find the setvars.bat script in the root folder of your oneAPI installation, which is typically C:\Program Files (x86)\Intel\oneAPI\setvars.bat
The setvars.bat script can also be managed using a configuration file. For more details, see Using a Configuration File to Manage Setvars.bat.