Skip to content

Commit 3ca70cf

Browse files
committed
feat: clangd lsp integration
1 parent c7c3306 commit 3ca70cf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ set(rime_soversion 1)
1010

1111
add_definitions(-DRIME_VERSION="${rime_version}")
1212

13+
# generate compile_commands.json
14+
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
15+
1316
include(GNUInstallDirs)
1417

1518
option(BUILD_SHARED_LIBS "Build Rime as shared library" ON)

0 commit comments

Comments
 (0)