cmake/Help/prop_tgt/LANG_VISIBILITY_PRESET.rst

14 lines
495 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
<LANG>_VISIBILITY_PRESET
------------------------
Value for symbol visibility compile flags
2015-08-17 11:37:30 +02:00
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 :policy:`CMP0063`).
This property is initialized by the value of the
:variable:`CMAKE_<LANG>_VISIBILITY_PRESET` variable if it is set when a
target is created.