Importing files from a makefile or a build log

The OneTest Embedded GUI offers the ability to create a project by importing source files from an existing makefile.

Note  The Import Makefile feature merely imports a list of files as referenced in the makefile or build log. It does not import everything you need to immediately build a project in OneTest Embedded.

The makefile import feature creates a new project, reads the makefile or build log and adds the source files to the project. The project is created with the default Configuration Settings of the current Target Deployment Port (TDP).

Any other information contained in the makefile, such as compilation options must be entered manually in the Configuration Settings dialog box. The following limitations apply:

Any environment variables used within the makefile must be valid.

You can also use Import Makefile feature to import any list of files contained in a plain text file.

Alternatively, you can import the project as a sub-project of the OneTest Embedded current project. In this case, the sub-project inherits the Configuration Settings of the master project.

To import files from a makefile as a new project:

  1. Close any open projects.

  2. From the File menu, select Import > Import from Makefile. Use the file selector to locate a valid makefile and click Open.

  3. Enter a name for the new project and click OK.

  4. Select the correct Configuration in the Configuration toolbar.

  5. In the Project Explorer, click Settings .

  6. Enter any specific compilation options in the Build settings and click OK.

To import files from a makefile as a sub-project:

  1. With a project open, select the project node.

  2. Right-click the project node and select Add Child > Import.

  3. Use the file selector to locate a valid makefile and click Open.

  4. In the Project Explorer, click Settings .

  5. Enter any specific compilation options in the Build settings and click OK.

Related Topics

Adding Files to the Project | Importing Files from a Microsoft Visual Studio Project file | Manually Creating a Test or Application Node | Selecting ConfigurationsWorking with Projects