mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-25 06:44:59 +00: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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue