From 6753bb5c50f212a1f1f3ea226dbc1aa1a7b225a0 Mon Sep 17 00:00:00 2001 From: Stephane Del Pino <stephane.delpino44@gmail.com> Date: Thu, 17 May 2018 00:10:38 +0200 Subject: [PATCH] builds compile_commands.json for better editor integration. emacs rules! --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8d76b3f97..cdc93b4aa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,6 +15,10 @@ project (Pastis #------------------------------------------------------ +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) + +#------------------------------------------------------ + set(PASTIS_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}") set(PASTIS_BINARY_DIR "${CMAKE_CURRENT_BINARY_DIR}") -- GitLab