We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96eb3e9 commit d3a691bCopy full SHA for d3a691b
meson.build
@@ -23,6 +23,7 @@ tmp = library(
23
tmp_dep = declare_dependency(
24
link_with: tmp,
25
include_directories: include_directory,
26
+ gnu_symbol_visibility: 'default',
27
dependencies: [filesystem_dep],
28
version: meson.project_version(),
29
)
src/CMakeLists.txt
@@ -7,7 +7,9 @@ target_link_libraries(${PROJECT_NAME} PUBLIC std::filesystem)
7
set_target_properties(${PROJECT_NAME}
8
PROPERTIES EXPORT_NAME ${PROJECT_NAME}
9
CXX_EXTENSIONS OFF
10
+ CXX_VISIBILITY_PRESET default
11
VISIBILITY_INLINES_HIDDEN ON
12
+ WINDOWS_EXPORT_ALL_SYMBOLS ON
13
VERSION ${PROJECT_VERSION}
14
SOVERSION ${PROJECT_VERSION_MAJOR})
15
0 commit comments