Skip to content

Commit 8a59850

Browse files
facontidavideclaude
andcommitted
Keep CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS alongside explicit BTCPP_API macros
The BTCPP_API export macro was only applied to a few key classes, but many free functions and other class members still need to be exported. Restore CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS as a catch-all while keeping the explicit export macros for forward compatibility. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent bee1985 commit 8a59850

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ if (WIN32)
216216
endif()
217217

218218
if (BTCPP_SHARED_LIBS)
219+
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
219220
add_library(${BTCPP_LIBRARY} SHARED ${BT_SOURCE})
220221
target_compile_definitions(${BTCPP_LIBRARY}
221222
PUBLIC BTCPP_SHARED_LIBS

0 commit comments

Comments
 (0)