-
-
Notifications
You must be signed in to change notification settings - Fork 617
defines
Jason Perkins edited this page Apr 14, 2015
·
8 revisions
Home > [Scripting Reference](Scripting Reference) > defines
The defines function adds preprocessor or compiler symbols to a project.
#!lua
defines { "symbols" }
If a project includes multiple calls to defines 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
defines { "DEBUG", "TRACE" }
Symbols may also assign values.
#!lua
defines { "CALLSPEC=__dllexport" }