_VISIBILITY_PRESET

From Get docs
Cmake/docs/3.21/prop tgt/lang visibility preset


_VISIBILITY_PRESET

Value for symbol visibility compile flags

The <LANG>_VISIBILITY_PRESET property determines the value passed in a visibility related compile option, such as -fvisibility= for <LANG>. This property affects compilation in sources of all types of targets (subject to policy CMP0063).

This property is initialized by the value of the CMAKE__VISIBILITY_PRESET variable if it is set when a target is created.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/prop_tgt/LANG_VISIBILITY_PRESET.html