Skip to content

Commit 2365e14

Browse files
committed
cont : export all symbols
1 parent 5d4428b commit 2365e14

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

common/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,9 @@ target_compile_features (${TARGET} PUBLIC cxx_std_17)
117117

118118
if (BUILD_SHARED_LIBS)
119119
set_target_properties(${TARGET} PROPERTIES POSITION_INDEPENDENT_CODE ON)
120+
121+
# TODO: make fine-grained exports in the future
122+
set_target_properties(${TARGET} PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS ON)
120123
endif()
121124

122125
target_link_libraries(${TARGET} PRIVATE

0 commit comments

Comments
 (0)