-
Notifications
You must be signed in to change notification settings - Fork 21
resdefines
mba105 edited this page Sep 24, 2014
·
2 revisions
Home > [Scripting Reference](Scripting Reference) > resdefines
The resdefines function specifies preprocessor symbols for the resource compiler.
#!lua
resdefines { "symbols" }
If a project includes multiple calls to resdefines the lists are concatenated, in the order in which they appear in the script.
Solutions, projects, and configurations.
symbols specifies a list of symbols to be defined.
Define two new symbols in the current project.
#!lua
resdefines { "DEBUG", "TRACE" }
Symbols may also assign values.
#!lua
resdefines { "CALLSPEC=__dllexport" }