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/defines.md
2021-03-12 22:10:24 +01:00

437 B

Adds preprocessor or compiler symbols to a project.

defines { "symbols" }

Parameters

symbols specifies a list of symbols to be defined.

Applies To

Project configurations.

Availability

Premake 4.0 or later.

Examples

Define two new symbols in the current project.

defines { "DEBUG", "TRACE" }

Symbols may also assign values.

defines { "CALLSPEC=__dllexport" }