premake/website/docs/rtti.md
2021-03-29 16:18:54 -04:00

31 lines
663 B
Markdown

Enable or disable [run-time type information](https://en.wikipedia.org/wiki/Run-time_type_information).
```lua
rtti ("value")
```
### Parameters ###
`value` is one of:
| | |
|---------|---------------------------------------------------|
| Default | Use the toolset's default setting for run-time type information. |
| On | Turn on RTTI. |
| Off | Turn off RTTI. |
### Applies To ###
Project configurations.
### Availability ###
Premake 5.0 or later.
### See Also ###
* [exceptionhandling](exceptionhandling.md)