You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Possible solution: custom flags to avoid the definition of NDEBUG (standard c macro that disables all asserts)
# Set a default build type for single-configuration# CMake generators if no build type is set.IF(NOT CMAKE_CONFIGURATION_TYPES ANDNOT CMAKE_BUILD_TYPE)
SET(CMAKE_BUILD_TYPE RelWithDebInfo)
ENDIF(NOT CMAKE_CONFIGURATION_TYPES ANDNOT CMAKE_BUILD_TYPE)
# Select flags.SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g")
SET(CMAKE_CXX_FLAGS_RELEASE "-O3")
SET(CMAKE_CXX_FLAGS_DEBUG "-O0 -g")
I do not think it will hurt performance, and it will be a lot easier to debug tasks/constraints.
The text was updated successfully, but these errors were encountered: