From daacb6d469634a17131f5e67de641b0dc516c2cb Mon Sep 17 00:00:00 2001 From: pedro martelletto Date: Sat, 2 Nov 2024 18:38:41 +0100 Subject: [PATCH] cmake: build with CMAKE_EXPORT_COMPILE_COMMANDS by default to simplify the life of those using clangd or other language servers --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 94e42925..fd597aa6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,6 +28,8 @@ endif() set(CMAKE_POSITION_INDEPENDENT_CODE ON) set(CMAKE_COLOR_MAKEFILE OFF) set(CMAKE_VERBOSE_MAKEFILE ON) +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) + set(FIDO_MAJOR "1") set(FIDO_MINOR "16") set(FIDO_PATCH "0")