File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ option(SILKIT_ENABLE_UBSAN "Enable -f sanitize=undefined for builds (requires gc
3838option (SILKIT_ENABLE_THREADSAN "Enable -f sanitize=thread for builds (requires gcc, clang)" OFF )
3939option (SILKIT_ENABLE_COVERAGE "Enable coverage for builds (requires gcc, clang)" OFF )
4040option (SILKIT_WARNINGS_AS_ERRORS "Treat compiler warnings as errors" OFF )
41- option (SILKIT_PACKAGE_SYMBOLS "Add a post-build step to create PDB/Symbol archives" ON )
41+ option (SILKIT_PACKAGE_SYMBOLS "Add a post-build step to create PDB/Symbol archives" OFF )
4242option (SILKIT_BUILD_DASHBOARD "Build the SIL Kit Dashboard client." ON )
4343option (SILKIT_ENABLE_TRACING_INSTRUMENTATION "Enable tracing instrumentation (_SILKIT_TRACE_CLASS_NAMES)." OFF )
4444option (SILKIT_LINK_LLD "Use the lld linker for SIL KIT" OFF )
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ macro(silkit_split_debugsymbols targetName)
1717 )
1818endmacro ()
1919
20-
2120macro (silkit_package_debugsymbols targetName )
2221 if (MSVC )
2322 message (STATUS "Creating symbol package ${SILKIT_SYMBOLS_DIR_NAME} " )
@@ -33,6 +32,11 @@ macro(silkit_package_debugsymbols targetName)
3332 return ()
3433 endif ()
3534 if (UNIX AND CMAKE_BUILD_TYPE MATCHES "Debug" )
35+ get_target_property (targetType ${targetName} TYPE )
36+ if (targetType STREQUAL STATIC_LIBRARY)
37+ message (STATUS "SIL Kit: splitting debug symbols on static libraries is not supported" )
38+ return ()
39+ endif ()
3640
3741 silkit_split_debugsymbols ("${targetName} " )
3842
You can’t perform that action at this time.
0 commit comments