Share via

Add User Macro Dialog Box

The Add User Macro dialog box creates a custom build macro or overrides the value of an inherited build macro.

Dialog box elements

  • Name
    Specifies the name of your custom macro.

    If the name you specify is the same as the name of an inherited build macro, the value of your custom macro overrides the value of the inherited macro.

  • Value
    Specifies the value of your custom macro.

  • Set this macro as an environment variable in the build environment
    When this check box is selected, your custom macro is available as an environment variable.


An inherited build macro is a macro that is defined in your project defaults and is available to each of your project build configurations. For more information, see Property Pages (C++).

See Also


User-defined Macros