set(CMAKE_CXX_VISIBILITY_PRESET hidden) | |
set(CMAKE_VISIBILITY_INLINES_HIDDEN 1) |
https://github.com/thorbenk/fvisibility_hidden_test/blob/master/CMakeLists.txt
hshy 2020-05-09 21:25 原文
set(CMAKE_CXX_VISIBILITY_PRESET hidden) | |
set(CMAKE_VISIBILITY_INLINES_HIDDEN 1) |
https://github.com/thorbenk/fvisibility_hidden_test/blob/master/CMakeLists.txt