enable compile_commands for clangd

This commit is contained in:
veclavtalica 2024-07-08 03:56:00 +03:00
parent 206a5b7cad
commit adcf638e2a

View File

@ -4,6 +4,8 @@ project(emerald LANGUAGES C)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake) list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
# dependencies # dependencies
find_package(SDL2 REQUIRED) find_package(SDL2 REQUIRED)
find_package(SDL2_image REQUIRED) find_package(SDL2_image REQUIRED)