Skip to content

Commit 995580c

Browse files
authored
Merge pull request #16526 from argotorg/clangd-support
cmake: generate compile_commands.json
2 parents 224649b + 0c2a84f commit 995580c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
cmake_minimum_required(VERSION 3.13.0)
22

3+
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
4+
35
set(ETH_CMAKE_DIR "${CMAKE_CURRENT_LIST_DIR}/cmake" CACHE PATH "The path to the cmake directory")
46
list(APPEND CMAKE_MODULE_PATH ${ETH_CMAKE_DIR})
57

0 commit comments

Comments
 (0)