Skip to content

Commit d0b2dba

Browse files
committed
fix: enable compile-commands.json
1 parent 0a79fca commit d0b2dba

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.clangd

Lines changed: 0 additions & 2 deletions
This file was deleted.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,5 @@ tsconfig.*.tsbuildinfo
2424
/staging
2525
!/lib/load-addon.js
2626
!/lib/load-addon.js.map
27+
28+
compile_commands.json

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ run_vcpkg(VCPKG_URL "https://github.com/microsoft/vcpkg.git" VCPKG_REV
4343
# Name of the project (will be the name of the plugin)
4444
project(addon LANGUAGES C CXX)
4545

46-
project_options(ENABLE_CACHE)
46+
project_options(ENABLE_CACHE ENABLE_COMPILE_COMMANDS_SYMLINK)
4747

4848
add_library(
4949
addon SHARED

0 commit comments

Comments
 (0)