# define

abstract fun define(name: String)(source)

Defines a named preprocessor macros to use when compiling this binary. The macro will be supplied to the compiler as '-D name'.

#### Since

2.10

abstract fun define(name: String, definition: String)(source)

Defines a named preprocessor macro with a value, which will be used when compiling this binary. The macro will be supplied to the compiler as '-D name=definition'.

#### Since

2.10