Skip to content

Commit

Permalink
Merge pull request dolphin-emu#8388 from jordan-woyak/cmake-export-co…
Browse files Browse the repository at this point in the history
…mpile-commands

CMake: Enable generation of compile_commands.json.
  • Loading branch information
stenzek authored Nov 8, 2019
2 parents a89fdb6 + e08663b commit 7293089
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ endif()
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

if (MSVC)
# TODO: Use https://cmake.org/cmake/help/latest/policy/CMP0092.html instead (once we can require CMake >= 3.15)
Expand Down

0 comments on commit 7293089

Please sign in to comment.