Understanding Custom Build Steps and Build Events (original) (raw)

Within the C++ development environment, there are three basic ways to customize the build process:

Troubleshooting Build Customizations can help you ensure that your custom build steps and build events run as expected.

The output format of a custom build step or build event can also enhance the usability of the tool. For more information, see Formatting the Output of a Custom Build Step or Build Event.

For each project in a solution, build events and custom build steps run in the following order along with other build steps:

  1. Pre-Build event
  2. Custom build tools on individual files
  3. MIDL
  4. Resource compiler
  5. The C/C++ compiler
  6. Pre-Link event
  7. Linker or Librarian (as appropriate)
  8. Manifest Tool
  9. BSCMake
  10. Custom build step on the project
  11. Post-Build event

The custom build step on the project and a post-build event run sequentially after all other build processes finish.

In this section

Specify Custom Build Tools
Specify Build Events
Troubleshoot Build Customizations
Format the Output of a Custom Build Step or Build Event

See also

Visual Studio Projects - C++
Common macros for build commands and properties