Browse Source

Generate compile_commands.json

pull/7060/head 1.4.0rc1-676-g6b2918ee9
kentsangkm 11 months ago
committed by John Maguire
parent
commit
6b2918ee92
  1. 1
      CMakeLists.txt

1
CMakeLists.txt

@ -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…
Cancel
Save