Skip to content

Commit

Permalink
Added compile commands export to support cland.
Browse files Browse the repository at this point in the history
  • Loading branch information
DorianBDev committed Nov 8, 2023
1 parent 1e8c768 commit 4e2005d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ build/*
.vs/
.vscode/
.cache/
.clangd

etc/installer/packages/Degate/data/*
!etc/installer/packages/Degate/data/.keepme
Expand Down
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ add_definitions(-DBOOST_NO_CXX11_SCOPED_ENUMS)
#
set_property(GLOBAL PROPERTY USE_FOLDERS ON)

#
# Export compile_commands.json file
#
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

############################################################################
############################ Dependencies ##################################
Expand Down

0 comments on commit 4e2005d

Please sign in to comment.