Homec4science

Add an option to enable building with -fvisibility=hidden.

Authored by Dominic Meiser <dmeiser@txcorp.com> on Oct 6 2015, 00:02.

Description

Add an option to enable building with -fvisibility=hidden.

When this option is set gtest itself is built with -fvisibility=hidden
with gcc and clang. This replicates MSVC's default behaviour with gcc
and clang.

Details

Committed
Dominic Meiser <dmeiser@txcorp.com>Oct 30 2015, 04:56
Pushed
trottetDec 4 2019, 13:52
Parents
R9484:bb5c92f9d1f0: Fix definition of GTEST_API_ macro for gcc and clang [#451].
Branches
Unknown
Tags
Unknown

Event Timeline

Dominic Meiser <dmeiser@txcorp.com> committed R9484:580378d522d5: Add an option to enable building with -fvisibility=hidden. (authored by Dominic Meiser <dmeiser@txcorp.com>).Oct 30 2015, 04:56