The following topic applies to
Eclipse* for C/C++.
To create a new Eclipse* project:
- Select
File > New > Project...
The
New Project wizard opens.
- Expand the
C/C++ Project tab and select the appropriate
project type. Click
Next to continue.
- For
Project name, enter
hello_world. Deselect the
Use default location to specify a directory for
the new project.
- In the
Project Type list, expand the
Executable project type and select
Hello World [C or C++] Project.
- In the
Toolchains list, select
Intel® C++ Compiler. Click
Next.
Note
- 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 Intel® C++ Compiler
installed, they appear in the project’s properties under
C/C++
Build > Settings on the
Intel Compiler Selection tab.
- 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. The
Hello world greeting string displayed by
thehello_world program and
Source
directory relative to the project where the generated
source file is created can be specified on this page. After entering desired
fields, click
Next.
- 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.
Note
Configurations
can be created after the project is created by selecting
Project > Properties.
- 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.