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/exceptionhandling.md

32 lines
739 B
Markdown
Raw Normal View History

2021-03-11 20:29:22 +00:00
Enable or disable exception handling.
```lua
exceptionhandling ("value")
```
### Parameters ###
`value` is one of:
| Value | Description |
2021-03-11 20:29:22 +00:00
|---------|---------------------------------------------------|
| 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)