Create an Autotools project
- Select File > New > Project to open the New Project wizard.
- Select the type of project to create under the C/C++ category. For example, choose C Project.
- Click Next. The C Project wizard opens.
- Type a name for your project in the Project name text box.
- Optionally you can change the location of the project by deselecting the Use default location option.
- From the Project type list, expand the DEY GNU Autotools and select one of the available options:
- Empty Project. This option only generates a new project. You must provide the configure.ac file, the Makefile.am, and the sources to build.
- Hello World ANSI C Project. This option generates a Hello World application including the source code, the configure.ac, and Makefile.am files.
- Autotools Shared Library Project. A shared library example with code, configure.ac, and Makefile.am files.
- Select DEY GNU Autotools Toolchain from the Toolchains list.
- Click Next. The Select Configurations page is displayed, where you can choose the configurations to create or perform advanced configuration.
- Click Next to display the Configure Digi Embedded Yocto platform and toolchain page.
This page shows the available platforms and toolchains for the selected platform depending on the directory configured in the DEY Toolchains preference page. See Configure installed toolchains.
By default, the preference values are selected. - Select the platform for your project in the Platform list.
- Select the toolchain to use from the Available toolchains list.
- Click Finish to create the project.
Note If the C++ perspective is not the current one, a message appears asking if you would like to open the C/C++ perspective.
A new project is created with the configured settings. It is listed in the Project Explorer view.
Depending on the selected project type, you must provide the source code, configure.ac, and Makefile.am files for the project. The required makefiles are automatically generated.
To customize your project build options see Configure an Autotools project.
Note For more information, see the Autotools Plug-in User Guide at http://help.eclipse.org/index.jsp.