Creating the build list

You can use the Build List properties page to specify a list of files to be built when you build a z/OS® UNIX subproject with the Subproject Build build mechanism. You can also specify the build action that you want to run for each file in the build list.

About this task

To create a build list for a z/OS UNIX subproject, complete the following steps:

Procedure

  1. Switch to the z/OS Projects perspective.
  2. In the z/OS Projects view, right-click the z/OS UNIX subproject that you want to set up the properties for, and then select Properties from the menu to open the Properties window.
  3. In the left navigation pane, click Build List to open the Build List properties page.
    Build List properties page
  4. To populate the build list with the files that you want to build for the selected subproject, do one of the following steps:
    • Click Add from z/OS UNIX Subproject to open the Browse Dialog. The selected z/OS UNIX subproject is displayed in the window. Expand the z/OS UNIX subproject to reveal all of the filters that it contains, and then expand the filter that contains the files that you want to add to the subproject build list. From the list of available files, select the files that you want to include in the build list (in the order that you want them to be built), and then click OK to add these files to the Build List properties page. The files are added to the build list according to the order you specify. The default file order is *.s, *.asm, *.c, *.cpp, and *.mak files.
    • Click Reload from subproject to populate the build list with all of the files in the subproject that can be built. These files include *.s, *.asm, *.c, *.cpp, and *.mak files.
    • Click Reload from Filter to populate the build list with all of the files in the selected file filter that can be built. These files include *.s, *.asm, *.c, *.cpp, and *.mak files.
    Tip: To change the order of the files in the build list, click the file that you want to move, and then click Move Up or Move Down to change the position of the file within the build list.
  5. The default build action that is associated with each file type in the Default Build Action preferences page is assigned to each file in the build list. To change the build action that is assigned to a file, click the file in the build list, and then click Change Build Action to open the Change Build Action window.
  6. From the Build Action list, select the build action that you want to assign to this file.
  7. Optional. To assign this build action to all files in the build list with the same file type as the selected file, select the Apply to all files of this file type check box.
  8. Click OK to save your settings and close the Change Build Action window.
  9. After the build list contains all of the files that you want to build for the selected subproject (listed in the order that you want them to be built), click Apply to save your settings, and then OK to close the Properties window.

Results

You are now ready to build the subproject.