Define pre- and post-compile commands

Pre-compile commands are executed immediately before the compilation of a file, while post-compile commands are executed immediately after the compilation of a file.

  1. Right-click on a file and select Advanced Properties.
    The Advanced Properties dialog opens, with the Pre/Post Compile command page selected.
  2. In the Pre Compile commands field, enter any pre-compile commands to execute immediately prior to the compilation of the file.
  3. In the Post Compile commands field, enter any post-compile commands to execute immediately after the compilation of the file.
  4. Click Apply.
  5. Click OK.
    The Advanced Properties dialog closes.