-
Notifications
You must be signed in to change notification settings - Fork 21
defines
Aidan Gauland edited this page Jan 16, 2018
·
3 revisions
Home > [Scripting Reference](Scripting Reference) > defines
The defines function adds preprocessor or compiler symbols to a project.
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.
defines { "DEBUG", "TRACE" }
Symbols may also assign values.
defines { "CALLSPEC=__dllexport" }