1
0
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:
Sadie Powell
2022-01-03 23:08:23 +00:00
parent eb81f22a5b
commit c1f6a79c72
+1
View File
@@ -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()