mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-26 19:28:59 +00:00
Meta: Enforce symbol annotation for EXPLICIT_SYMBOL_EXPORT on Windows
This commit is contained in:
parent
275a180246
commit
656586a0e5
Notes:
github-actions[bot]
2025-05-16 20:34:06 +00:00
Author: https://github.com/ayeteadoe
Commit: 656586a0e5
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4784
Reviewed-by: https://github.com/ADKaster ✅
1 changed files with 2 additions and 0 deletions
|
@ -184,6 +184,8 @@ function(lagom_generate_export_header name fs_name)
|
|||
# to gradually slowly migrate instead of an all-or-nothing approach.
|
||||
if (NOT WIN32)
|
||||
target_compile_options(${name} PRIVATE -fvisibility=hidden)
|
||||
else()
|
||||
set_target_properties(${name} PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS OFF)
|
||||
endif()
|
||||
include(GenerateExportHeader)
|
||||
string(TOUPPER ${fs_name} fs_name_upper)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue