cmake: enable compile_commands.json

This commit is contained in:
fgsfds committed 2025-06-06 11:04:40 +02:00
1 parent d9185982f8
commit 38cb1557d0
1 file changed
+1
+1
View File
@@ -21,6 +21,7 @@ set(CMAKE_C_STANDARD 11)
set(CMAKE_C_EXTENSIONS OFF)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
# On first build set the build type to RelWithDebInfo if it's not already set
if (NOT EXISTS ${CMAKE_BINARY_DIR}/CMakeCache.txt)