Skip to content

Commit

Permalink
Set default hidden visibility for all source on gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
expipiplus1 committed Dec 12, 2024
1 parent f566adf commit 8368205
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/CompilerFlags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ function(set_default_compile_options target)
PROPERTIES # -fvisibility=hidden
CXX_VISIBILITY_PRESET
hidden
C_VISIBILITY_PRESET
hidden
VISIBILITY_INLINES_HIDDEN
ON
# C++ standard
CXX_STANDARD
17
Expand Down

0 comments on commit 8368205

Please sign in to comment.