-
-
Notifications
You must be signed in to change notification settings - Fork 616
visibility
starkos edited this page Apr 10, 2021
·
4 revisions
This wiki is no longer being maintained.
Sets the default visibility for exported symbols in a shared object library.
visibility "switch"
By default, the generated project files will use the compilers default settings symbol visibility when building shared object libraries.
switch
is an identifier for symbol information.
Option | Availability |
---|---|
Default |
gcc |
Hidden |
gcc |
Inline |
gcc |
Project configurations.
Premake 5.0 or later.
This project hides exported symbols for release builds.
project "MyProject"
filter "configurations:Release"
visibility "Hidden"
- gcc page about visibility