From 8db37403e9954a22dd4757cd3d78e8fedf85338e Mon Sep 17 00:00:00 2001 From: servostar Date: Tue, 13 Feb 2024 22:28:24 +0100 Subject: [PATCH] CMakeLists.txt now generates compile_commands.json --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0ba7d85..359ff41 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -21,6 +21,8 @@ project(gemstone DESCRIPTION "programming language compiler" LANGUAGES C) +set(CMAKE_EXPORT_COMPILE_COMMANDS ON) + # ------------------------------------------------ # # Lex # # ------------------------------------------------ #