Skip to content

resdefines

Jason Perkins edited this page May 30, 2015 · 7 revisions

Specifies preprocessor symbols for the resource compiler.

resdefines { "symbols" }

Parameters

symbols specifies a list of symbols to be defined.

Applies To

Project configurations.

Availability

Premake 4.0 or later.

Examples

Define two new symbols in the current project.

resdefines { "DEBUG", "TRACE" }

Symbols may also assign values.

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