Share via


Specifying Build Rules that Run Before the Link Process

Home Page (Projects)OverviewsHow Do I... TopicsNMAKE Reference

You can use the Pre-link step tab in the Project Settings dialog box to specify build rules that run before the link process. For example, you could create directories or set file attributes before the linker runs.

To specify pre-link steps

  1. From the FileView tab of the project workspace, select the project for which you want to specify the build steps.

  2. From the Project menu, choose Settings, and select the Pre-link step tab.

  3. In the Pre-linkdescription field, type a description of this step. The description you type here is echoed to the output window when this step is executed.

  4. Use the Pre-link command(s): area to type your operating-system batch file commands, environment variables, and build-rule macros.

What do you want to know more about?

When custom build rules run