Skip to content
Permalink
Browse files

Merge pull request #8388 from jordan-woyak/cmake-export-compile-commands

CMake: Enable generation of compile_commands.json.
  • Loading branch information...
stenzek committed Nov 8, 2019
2 parents a89fdb6 + e08663b commit 729308979dd99289f5f900056891ee3b4456c196
Showing with 1 addition and 0 deletions.
  1. +1 −0 Source/CMakeLists.txt
@@ -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)

0 comments on commit 7293089

Please sign in to comment.
You can’t perform that action at this time.