Skip to content

Commit 573daf0

Browse files
committed
generate clangd database for our cext
1 parent ff3106a commit 573daf0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

graalpython/com.oracle.graal.python.cext/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ function(require_var var)
3535
endif()
3636
endfunction()
3737

38+
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
39+
3840
if(MSVC)
3941
message(FATAL_ERROR "C API cannot be built with MSVC")
4042
endif()

0 commit comments

Comments
 (0)