why not add support build to Dynamic Link Library for windows
loobins opened this issue · comments
loobins commented
It is a gread project, why not add support build to Dynamic Link Library for windows,
same request for cppCommon。
Ivan Shynkarenka commented
If you need shared library it's easy to replace in CMakeLists.txt
add_library(cpplogging ${LIB_HEADER_FILES} ${LIB_INLINE_FILES} ${LIB_SOURCE_FILES} ${MINIZIP_FILES})
with
add_library(cpplogging SHARED ${LIB_HEADER_FILES} ${LIB_INLINE_FILES} ${LIB_SOURCE_FILES} ${MINIZIP_FILES})
In our projects we build everything from sources and all libs as static, than link into singe executable file. This gives us ability to debug everything we need and get rid of dll/so hell.