Back to Cmake

VISIBILITY_INLINES_HIDDEN

Help/prop_tgt/VISIBILITY_INLINES_HIDDEN.rst

4.3.2557 B
Original Source

VISIBILITY_INLINES_HIDDEN

Whether to add a compile flag to hide symbols of inline functions

The VISIBILITY_INLINES_HIDDEN property determines whether a flag for hiding symbols for inline functions, such as -fvisibility-inlines-hidden, should be used when invoking the compiler. This property affects compilation in sources of all types of targets. See policy :policy:CMP0063.

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