diff --git a/CMakeLists.txt b/CMakeLists.txt index 6c696d2e65e1dc613b3a0a51647def3854d4799e..bfeb2484538edc211ce04e8b4086038d8784221c 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(