enable compile_commands for clangd
This commit is contained in:
parent
206a5b7cad
commit
adcf638e2a
@ -4,6 +4,8 @@ project(emerald LANGUAGES C)
|
||||
|
||||
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
|
||||
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
# dependencies
|
||||
find_package(SDL2 REQUIRED)
|
||||
find_package(SDL2_image REQUIRED)
|
||||
|
Loading…
Reference in New Issue
Block a user