# debug definitions
#define SPDLOG_LEVEL_TRACE 0
#define SPDLOG_LEVEL_DEBUG 1
#define SPDLOG_LEVEL_INFO 2
#define SPDLOG_LEVEL_WARN 3
#define SPDLOG_LEVEL_ERROR 4
#define SPDLOG_LEVEL_CRITICAL 5
#define SPDLOG_LEVEL_OFF 6
if (${GDZL_DEBUG})
    add_compile_definitions(GDZL_DEBUG=1)
    add_compile_definitions(SPDLOG_ACTIVE_LEVEL=0)
    message(STATUS "GdzlEngine IS IN DEBUG MODE")
else () 
    add_compile_definitions(GDZL_DEBUG=0)
    add_compile_definitions(SPDLOG_ACTIVE_LEVEL=3)
    add_compile_options("-Wall" "-f-noexceptions" "$<$<CONFIG:RELEASE>:-O3>")
endif()

