mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17:59 +02:00
Refactor of ZmqSocket (#109)
Changed data type of address from char[1000] to string to reduce stack size of object. Removed redundant calls to Close Removed function exposing the socket descriptor Using functions from network_utils instead of duplicates Added tests
This commit is contained in:
@ -39,6 +39,7 @@ if(SLS_DEVEL_HEADERS)
|
||||
include/StaticVector.h
|
||||
include/UdpRxSocket.h
|
||||
include/versionAPI.h
|
||||
include/ZmqSocket.h
|
||||
)
|
||||
endif()
|
||||
|
||||
@ -48,7 +49,7 @@ add_library(slsSupportLib SHARED
|
||||
)
|
||||
|
||||
|
||||
if(SLS_LTO_AVAILABLE)
|
||||
if((CMAKE_BUILD_TYPE STREQUAL "Release") AND SLS_LTO_AVAILABLE)
|
||||
set_property(TARGET slsSupportLib PROPERTY INTERPROCEDURAL_OPTIMIZATION True)
|
||||
endif()
|
||||
|
||||
|
Reference in New Issue
Block a user