mirror of
https://github.com/anope/anope.git
synced 2026-06-12 17:24:49 +02:00
Export a compilation database for debug builds.
This commit is contained in:
@@ -253,6 +253,7 @@ endif()
|
||||
|
||||
# Set the DEBUG_BUILD for sysconf.h
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "DEBUG" OR CMAKE_BUILD_TYPE STREQUAL "RELWITHDEBINFO")
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
set(DEBUG_BUILD TRUE)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user