Skip to content

visibility

iFarbod edited this page Apr 4, 2019 · 4 revisions

Turn on/off debug symbol table generation.

visibility "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
Hidden Always available
Inline Always available

Applies To

Project configurations.

Availability

Premake 5.0 or later.

Examples

This project hides symbols for release builds.

project "MyProject"
    filter "configurations:Release"
        visibility "Hidden"

See Also

Clone this wiki locally