From 3f8d9ebd50f07ef4da9e2e79d15db8c6967649f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E9=BE=99=E6=88=90?= Date: Sun, 14 Sep 2025 16:29:11 +0800 Subject: [PATCH] fix clang debug error --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6c696d2..bfeb248 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -12,6 +12,8 @@ endif() set(CMAKE_EXPORT_COMPILE_COMMANDS ON) +add_compile_options(-fstandalone-debug) # 防止 string 在调试时显示 summary string parsing error + message(STATUS "BUILD TYPE : ${CMAKE_BUILD_TYPE}") INCLUDE_DIRECTORIES( -- GitLab