From eda1580ce971b0ca6d5441b1d15492d2a3334de5 Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Fri, 24 Jul 2026 14:51:49 +0200 Subject: [PATCH] CMake config: Enable generation of compile_commands.json --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6ef3332..2f3df73 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.10) project(osmpbf VERSION 1.5.0) +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) + include(GNUInstallDirs) # This is needed for the protobuf_generate_cpp() function to work on newer