cmake: Make symbols hidden by default on GCC/Clang
authorManuel Nickschas <sputnick@quassel-irc.org>
Sun, 2 Sep 2018 21:26:24 +0000 (23:26 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 18 Nov 2018 10:06:43 +0000 (11:06 +0100)
commita51da552e5a2a81ef8f2204de6459f3a713bddf4
tree1f9de625425ae1827da9a34f454eeeda5aa137d5
parent92fc8c5b119111a35ab8423c3cbde5b2a022badf
cmake: Make symbols hidden by default on GCC/Clang

With symbols now being explicitly marked as exported where needed,
there is no need to globally export all symbols anymore.
Tell CMake to set the appropriate compiler flags
(i.e. -fvisibility=hidden) for GCC and Clang so, they only export
requested symbols.
cmake/QuasselCompileSettings.cmake