Understanding Custom Build Steps and Build Events
From within the Visual 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.
Build events and custom build steps run in the following order along with other build steps:
-
Pre-Build event
-
Custom build tools on individual files
-
MIDL
-
Resource compiler
-
The C/C++ compiler
-
Pre-Link event
-
Linker or Librarian (as appropriate)
-
Manifest Tool
-
BSCMake
-
Custom build step on the project
-
Post-Build event
The custom build step on the project and a post-build event run sequentially after all other build processes finish.