mirror of
https://github.com/linuxdeepin/dde-dock.git
synced 2025-06-03 00:15:21 +00:00
feat: enable CMAKE_EXPORT_COMPILE_COMMANDS by default
Change-Id: I4c31a14d37c43cd8d5bba6ba880d57d50ab8d07a
This commit is contained in:
parent
bba276aed1
commit
f218a3b672
@ -11,6 +11,9 @@ set(CMAKE_AUTOMOC ON)
|
||||
set(CMAKE_AUTORCC ON)
|
||||
set(CMAKE_CXX_FLAGS "-g -Wall")
|
||||
|
||||
# generate a compile commands file as complete database for vim-YouCompleteMe or some other similar tools
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
include(GNUInstallDirs)
|
||||
|
||||
if (NOT (${CMAKE_BUILD_TYPE} MATCHES "Debug"))
|
||||
|
Loading…
x
Reference in New Issue
Block a user