1
0
mirror of https://github.com/clementine-player/Clementine synced 2024-12-21 15:34:16 +01:00

Generate compile_commands.json

This commit is contained in:
kentsangkm 2021-07-08 21:33:25 +02:00 committed by John Maguire
parent a5e84bbe98
commit 6b2918ee92

View File

@ -13,6 +13,7 @@ include(cmake/SpotifyVersion.cmake)
include(cmake/OptionalSource.cmake)
include(cmake/Format.cmake)
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON CACHE INTERNAL "")
if (CMAKE_CXX_COMPILER MATCHES ".*clang")
set(CMAKE_COMPILER_IS_CLANGXX 1)