Creating a New Project

The following topic applies to Eclipse* for C/C++.

To create a new Eclipse* project:

  1. Select File > New > Project... The New Project wizard opens.
  2. Expand the C/C++ Project tab and select the appropriate project type. Click Next to continue.
  3. For Project name, enter hello_world. Deselect the Use default location to specify a directory for the new project.
  4. In the Project Type list, expand the Executable project type and select Hello World … Project.
  5. In the Toolchains list, select Intel oneAPI DPC++ Compiler. Click Next.


    • If you need to see the toolchains for the compilers that are not locally installed, uncheck Show project types and toolchains only if they are supported on the platform. You are only able to view and configure these toolchains if the proper compilers are installed.
    • If you have multiple versions of the compiler installed, they appear in the project’s properties under C/C++ Build > Settings on the Intel® oneAPI DPC++ Compiler tab.

  6. The Basic Settings page allows specifying template information, including Author and Copyright notice, which appear as a comment at the top of the generated source file. After entering desired fields, click Next.
  7. The Select Configurations page allows specifying deployment platforms and configurations. By default, a Debug and Release configuration is created for the selected toolchain. Select no (Deselect all), multiple, or all (Select all) configurations. To edit project properties, click the Advanced settings button. Click Finish to create the hello_world project.


    Configurations can be created after the project is created by selecting Project > Properties.

  8. If the view is not the C/C++ Development Perspective (default), an Open Associated Perspective dialog box opens. In the C/C++ Perspective, click Yes to proceed.

An entry for your hello_world project appears in the Project Explorer view.

Para obtener información más completa sobre las optimizaciones del compilador, consulte nuestro Aviso de optimización.