Skip to content

Latest commit

 

History

History
51 lines (30 loc) · 2.36 KB

custom-build-step-property-page-general.md

File metadata and controls

51 lines (30 loc) · 2.36 KB
title description ms.date f1_keywords helpviewer_keywords ms.assetid
Custom Build Step Property Page: General
This article describes the properties available on the Custom Build Step page in the Property Pages dialog.
10/27/2020
VC.Project.VCCustomBuildStep.AdditionalInputs
VC.Project.VCCustomBuildStep.CustomBuildAfterTargets
VC.Project.VCCustomBuildStep.CustomBuildBeforeTargets
VC.Project.VCCustomBuildStep.Outputs
VC.Project.VCCustomBuildStep.Message
VC.Project.VCCustomBuildStep.Command
project properties, custom build step
custom build step (general)
bd319741-0491-46c4-a428-7c61b4b46a02

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