32 lines
739 B
Markdown
32 lines
739 B
Markdown
|
Enable or disable exception handling.
|
||
|
|
||
|
```lua
|
||
|
exceptionhandling ("value")
|
||
|
```
|
||
|
|
||
|
### Parameters ###
|
||
|
|
||
|
`value` is one of:
|
||
|
|
||
|
| Value | Description |
|
||
|
|---------|---------------------------------------------------|
|
||
|
| Default | Use the toolset's default setting for exceptions. |
|
||
|
| On | Turn on exceptions. |
|
||
|
| Off | Turn off exceptions. |
|
||
|
| SEH | Turn on exceptions and use [structured exception handling](https://msdn.microsoft.com/en-us/library/windows/desktop/ms680657(v=vs.85).aspx) when available. |
|
||
|
|
||
|
|
||
|
### Applies To ###
|
||
|
|
||
|
Project configurations.
|
||
|
|
||
|
|
||
|
### Availability ###
|
||
|
|
||
|
Premake 5.0 or later.
|
||
|
|
||
|
|
||
|
### See Also ###
|
||
|
|
||
|
* [rtti](rtti.md)
|