Importing TGT Files into a Build Configuration

Follow this procedure to import an Openmake TGT file into a build configuration in Dimensions Build. After the TGT file is successfully imported, the target and its dependencies are added to the build configuration.

To import an Openmake TGT file into a build configuration:

1. In Dimensions Build select the Build Management tab.

2. In the navigation pane select the build configuration where you want to import the TGT file, and click Build Targets.

NOTE The build configuration must be checked out.

3. In the content pane, on the Build Targets tab, click Launch Import Wizard.

The Import Wizard appears. On the left side of the wizard there are links to four pages: Select Import Type, Choose File, Parameters, and Confirm. By default, the Select Import Type page is displayed.

4. On the Select Import Type page, select Openmake TGT file and click Next.

5. On the Choose File page, in the Select OpenMake TGT file field, do one of the following:

- Type the full path to the TGT file that you want to import.

- Click Browse, navigate to the TGT file that you want to import, select it, and click Open.

Click Next.

6. The Parameters page displays the following information:

- The name of the target file.

- The relative path to the directory where the target is to be built.

- The sources required to build the target.

- The relative paths of the sources in relationship to the target.

(Optional) Modify the target name and its relative path.

7. Select the sources that you want to import from the TGT file.

8. Click Next.

9. On the Confirm page review the details of the target that you are going to create and click Finish.

10. In the content pane of your build configuration click the Build Targets tab. Verify that the new target was added to your list of build targets.

11. Click the Sources tab. Verify that the new sources were added to your list of build sources.

12. To review the transition script for building the target, do the following:

1. In the navigation pane expand your build configuration, click Build Targets, and select the build target that you imported.

2. In the content pane, in the Transition Details section, click Edit Build Script.

The Edit Transition Script dialog box appears. The Script Content field displays the following default Openmake template:

om_build.template

IMPORTANT! The default Openmake template is located in the directory <install root>/templates. If you customize the template, it is recommended that you place it under source control and in the build directory. The Openmake build templates that are supplied with Dimensions CM are described in the Developer’s API Reference.

3. Click OK.

13. Optionally add build options and option groups to the build target.