Muokkaa

Jaa


Custom Build Step Property Page: General

For each project configuration and target platform combination in your project, you can specify a custom step to execute when the project is built.

For the Linux version of this page, see Custom Build Step Properties (Linux C++).

General page

  • Command Line

    The command to be executed by the custom build step.

  • Description

    A message that's displayed when the custom build step runs.

  • Outputs

    The output file that the custom build step generates. This setting is required so that incremental builds work correctly.

  • Additional Dependencies

    A semicolon-delimited list of any additional input files to use for the custom build step.

  • Execute After and Execute Before

    These options define when the custom build step is run in the build process, relative to the listed targets. The most commonly listed targets are BuildGenerateSources, BuildCompile, and BuildLink, because they represent the major steps in the build process. Other often-listed targets are Midl, CLCompile, and Link.

  • Treat Output As Content

    This option is only meaningful for Universal Windows Platform or Windows Phone apps, which include all content files in the .appx package.

To specify a custom build step

  1. On the menu bar, choose Project > Properties to open the Property Pages dialog box. For more information, see Set C++ compiler and build properties in Visual Studio.

  2. Select the Configuration Properties > Custom Build Step > General page.

  3. Modify the settings.

See also

C++ project property page reference