Skip to content

resdefines

Jason Perkins edited this page Apr 14, 2015 · 7 revisions

Home > [Project API](Project API) > resdefines


resdefines

The resdefines function specifies preprocessor symbols for the resource compiler.

resdefines { "symbols" }

If a project includes multiple calls to resdefines the lists are concatenated, in the order in which they appear in the script.

Applies To

Solutions, projects, and configurations.

Parameters

symbols specifies a list of symbols to be defined.

Examples

Define two new symbols in the current project.

resdefines { "DEBUG", "TRACE" }

Symbols may also assign values.

resdefines { "CALLSPEC=__dllexport" }
Clone this wiki locally