This repository has been archived on 2022-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
fuck-premake-old2/website/docs/undefines.md
2021-03-12 22:10:24 +01:00

495 B

Removes preprocessor or compiler symbols from a project.

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.

undefines { "DEBUG", "TRACE" }