From 78a65f44df3d0109eddb2d6835adda0ed4d36859 Mon Sep 17 00:00:00 2001 From: Keuin Date: Tue, 12 Apr 2022 10:29:41 +0800 Subject: Add DEBUG macro for future usage. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b5a00d4..d07e6ff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD_REQUIRED True) set(common_compiler_args "-Wall -Werror -Wno-unused -std=c++11 -pthread") -set(CMAKE_CXX_FLAGS_DEBUG "${common_compiler_args} -g -ggdb -fsanitize=address") +set(CMAKE_CXX_FLAGS_DEBUG "${common_compiler_args} -g -ggdb -fsanitize=address -DDEBUG") set(CMAKE_CXX_FLAGS_RELEASE "${common_compiler_args} -O2") set(CMAKE_VERBOSE_MAKEFILE on) -- cgit v1.2.3