chore: Adds generation of compile_commands.json

This commit is contained in:
2026-06-13 10:38:13 +02:00
parent ca89ada4b1
commit 827f30908a
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -1,3 +1,4 @@
build/ build/
.vscode/ .vscode/
.cache/ .cache/
compile_commands.json
+1
View File
@@ -1,5 +1,6 @@
cmake_minimum_required(VERSION 3.10) cmake_minimum_required(VERSION 3.10)
set(CMAKE_C_STANDARD 11) set(CMAKE_C_STANDARD 11)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON CACHE BOOL "Generate compile_commands.json for clangd" FORCE)
project(wlgol project(wlgol
VERSION 0.0.1 VERSION 0.0.1
DESCRIPTION "Wayland Game Of Life" DESCRIPTION "Wayland Game Of Life"