mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 13:27:45 -07:00
CMake: Enable generation of compile_commands.json. Used for intellisense in Visual Studio Code et al.
This commit is contained in:
parent
b6545ea285
commit
e08663bc32
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user