diff --git a/CMakeLists.txt b/CMakeLists.txt index 65fe7a5..0c37c27 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,7 +3,8 @@ cmake_minimum_required(VERSION 3.21) project(Exponent CXX) set(CMAKE_CXX_STANDARD 20) -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address -fsanitize=undefined") +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsanitize=address -fsanitize=undefined -g") +set(CMAKE_BUILD_TYPE Debug) add_subdirectory(glfw) add_subdirectory(src)