From 751fd47d2d703b670e18a5322dfd9b6bff38260f Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Tue, 8 May 2018 20:50:17 +0200 Subject: [PATCH] automatically generate compile_commands.json --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index f73dacd..2203e4a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,7 @@ cmake_minimum_required(VERSION 3.5) +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) + add_subdirectory(tgbot) add_subdirectory(libdokuwiki) add_subdirectory(BeezleBot)