mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-17 15:59:00 +00:00
cmake: add CMakePresets.json
It only contains debug presets because I don't need anything else at the moment.
This commit is contained in:
parent
e099a9c180
commit
f7133d5b43
2 changed files with 24 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -43,3 +43,4 @@ CMakeLists.txt.user
|
||||||
/.vscode/
|
/.vscode/
|
||||||
# Ignore flatpak-builder's cache dir
|
# Ignore flatpak-builder's cache dir
|
||||||
.flatpak-builder
|
.flatpak-builder
|
||||||
|
CMakeUserPresets.json
|
||||||
|
|
23
CMakePresets.json
Normal file
23
CMakePresets.json
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
{
|
||||||
|
"version": 2,
|
||||||
|
"configurePresets": [
|
||||||
|
{
|
||||||
|
"name": "gcc-debug",
|
||||||
|
"binaryDir": "build-gcc-debug",
|
||||||
|
"generator": "Ninja",
|
||||||
|
"cacheVariables": {
|
||||||
|
"CMAKE_BUILD_TYPE": "Debug",
|
||||||
|
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "clang-debug",
|
||||||
|
"binaryDir": "build-clang-debug",
|
||||||
|
"generator": "Ninja",
|
||||||
|
"cacheVariables": {
|
||||||
|
"CMAKE_BUILD_TYPE": "Debug",
|
||||||
|
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue