CMakeLists.txt now generates compile_commands.json

This commit is contained in:
Sven Vogel 2024-02-13 22:28:24 +01:00
parent 25e92340a7
commit 8db37403e9
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,8 @@ project(gemstone
DESCRIPTION "programming language compiler" DESCRIPTION "programming language compiler"
LANGUAGES C) LANGUAGES C)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
# ------------------------------------------------ # # ------------------------------------------------ #
# Lex # # Lex #
# ------------------------------------------------ # # ------------------------------------------------ #