Home Page (Projects) | Overviews | How Do I... Topics | NMAKE Reference
When creating a custom build rule using a custom batch file, prepend the batch file with "call" to insure that all custom build rules following that rule will be executed.
When custom build rules create or incorporate files that are foreign to the current project or require a dependency relationship, click Dependencies on the Custom Build tab to identify these dependencies.
To specify custom build rules
By default, a number of file types have rules associated with them, such as .c or .cpp files in Visual C++. You cannot specify a custom rule for these files. If you select files of this type, the Custom Build tab becomes unavailable.
If you have made multiple selections, the Input File text specifies multiple selections.
If you type more than one command in the grid, the build process runs them in order, from top to bottom.
Note The command must include all required options. You may want to use a directory macro to specify the location for the output file.
If the commands create more than one output file, type additional names in the subsequent lines of the grid.
Macros for custom build commands
Select the directories for the output files