Skip to content

Commit

Permalink
CMake: Enable generation of compile_commands.json. Used for intellise…
Browse files Browse the repository at this point in the history
…nse in Visual Studio Code et al.
  • Loading branch information
jordan-woyak committed Oct 6, 2019
1 parent b6545ea commit e08663b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/CMakeLists.txt
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ endif()
set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF) set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)


if (MSVC) if (MSVC)
# Set warning level to 4 # Set warning level to 4
Expand Down

0 comments on commit e08663b

Please sign in to comment.