winamp/Src/external_dependencies/openmpt-trunk/include/premake/website/docs/undefines.md

28 lines
495 B
Markdown
Raw Normal View History

2024-09-24 12:54:57 +00:00
Removes preprocessor or compiler symbols from a project.
```lua
undefines { "symbols" }
```
If a project includes multiple calls to `undefines` the lists are concatenated, in the order in which they appear in the script.
### Parameters ###
`symbols` specifies a list of symbols to be undefined.
### Applies To ###
Project configurations.
### Availability ###
Premake 5.0 or later
### Examples ###
Undefine two symbols in the current project.
```lua
undefines { "DEBUG", "TRACE" }
```