$(CXX)-shared-fPIC-Wl,-soname,libxerus.so $(FLAGS)-I include $(XERUS_SOURCES)-L ./build/ -Wl,--as-needed -lxerus_misc$(SUITESPARSE)$(LAPACK_LIBRARIES)$(BLAS_LIBRARIES)-o build/libxerus.so
$(LIB_NAME_SHARED):$(MINIMAL_DEPS) $(LIB_SOURCES)
mkdir-p$(dir$@)
$(CXX)-shared-fPIC-Wl,-soname,libxerus.so $(FLAGS)-I include $(LIB_SOURCES)$(SUITESPARSE)$(LAPACK_LIBRARIES)$(BLAS_LIBRARIES)$(CALLSTACK_LIBS)-o$(LIB_NAME_SHARED)
# DEBUG += -fsanitize=address # find out of bounds access
# DEBUG += -pg # adds profiling code for the 'gprof' analyzer
# Xerus has a buildin logging system to provide runtime information. Here you can adjust the logging level used by the library.
# LOGGING += -D DEBUG_ # Debug infomation, can significantly slow down the library.
LOGGING += -D INFO_ # Information that is not linked to any unexpected behaviour but might nevertheless be of interest.
# LOGGING += -D WARNING_ # Informations that is linked to unexpected behaviour which indicates incorrect use of the library but are no errors as such.
# LOGGING += -D ERROR_ # Information about errors that occourt, assumedly by incorrect use of the library.
# LOGGING += -D CRITICAL_ # Information abount internal errors within the library.
# LOGGING += -D XERUS_LOG_DEBUG # Debug infomation, can significantly slow down the library.
LOGGING += -D XERUS_LOG_INFO # Information that is not linked to any unexpected behaviour but might nevertheless be of interest.
# LOGGING += -D XERUS_LOG_WARNING # Informations that is linked to unexpected behaviour which indicates incorrect use of the library but are no errors as such.
# LOGGING += -D XERUS_LOG_ERROR # Information about errors that occourt, assumedly by incorrect use of the library.
# Per default the logs are printed to cerr. Uncomment the following line to print the log messages to the file error.log instead.
# LOGGING += -D LOGFILE_ # Use error file instead of cerr
# LOGGING += -D XERUS_LOGFILE # Use error file instead of cerr
# Print absolute times instead of relative to program time
# LOGGING += -D LOG_ABSOLUTE_TIME
# LOGGING += -D XERUS_LOG_ABSOLUTE_TIME
# Uncomment the following line to save the last Logs in a circular buffer (without printing them) to allow detailed reports in case of errors.
# Note that this can significatly slow down the library.
# LOGGING += -D LOG_BUFFER_ # Activate the log buffer
# LOGGING += -D XERUS_LOG_BUFFER # Activate the log buffer
# Add time measurments for the relevant low level function calls. This allow to use get_analysis() to get a listing on all called low level fucntions and the time spend on them.