mirror of
https://github.com/latentPrion/libspinscale.git
synced 2026-06-23 19:48:32 +00:00
Add new Spinscale C++ Coroutine support
This commit is contained in:
@@ -18,6 +18,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -pedantic")
|
||||
option(ENABLE_DEBUG_LOCKS "Enable debug features for locking system" OFF)
|
||||
option(ENABLE_DEBUG_TRACE_CALLABLES
|
||||
"Enable callable tracing for debugging boost::asio post operations" OFF)
|
||||
option(ENABLE_DEBUG_CO "Enable coroutine-type debug logging" OFF)
|
||||
|
||||
# Qutex deadlock detection configuration
|
||||
if(NOT DEFINED DEBUG_QUTEX_DEADLOCK_TIMEOUT_MS)
|
||||
@@ -43,6 +44,10 @@ if(ENABLE_DEBUG_LOCKS)
|
||||
set(CONFIG_ENABLE_DEBUG_LOCKS TRUE)
|
||||
endif()
|
||||
|
||||
if(ENABLE_DEBUG_CO)
|
||||
set(CONFIG_LIBSSCL_DEBUG_CO TRUE)
|
||||
endif()
|
||||
|
||||
if(ENABLE_DEBUG_TRACE_CALLABLES)
|
||||
set(CONFIG_DEBUG_TRACE_CALLABLES TRUE)
|
||||
# Suppress frame-address warnings when using __builtin_return_address()
|
||||
|
||||
Reference in New Issue
Block a user