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:
parent
a5e84bbe98
commit
6b2918ee92
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user