premake/website/docs/symbols.md

42 lines
959 B
Markdown
Raw Normal View History

2021-03-11 20:29:22 +00:00
Turn on/off debug symbol table generation.
```lua
symbols "switch"
```
By default, the generated project files will use the compilers default settings for debug symbol generation. This might be on, or off, or entirely dependent on the configuration.
### Parameters ###
`switch` is an identifier for symbol information.
| Option | Availability |
|-------------|-----------------------------|
| `Default` | Always available |
| `Off` | Always available |
| `On` | Always available |
| `FastLink` | Visual Studio 2015 or newer |
| `Full` | Visual Studio 2017 or newer |
### Applies To ###
Project configurations.
### Availability ###
Premake 5.0 or later.
### Examples ###
This project generates debug symbol information for better debugging.
```lua
project "MyProject"
symbols "On"
```
### See Also ###
* [symbolspath](symbolspath.md)
* [debugformat](debugformat.md)