mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-21 09:46:02 +08:00
[glfw] Better CMake presets, debugger cwd setting for VS Code
This commit is contained in:
parent
60cc9f0e20
commit
04f0aca8b8
5
spine-glfw/.vscode/settings.json
vendored
Normal file
5
spine-glfw/.vscode/settings.json
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"cmake.debugConfig": {
|
||||||
|
"cwd": "${workspaceFolder}"
|
||||||
|
}
|
||||||
|
}
|
||||||
@ -22,9 +22,11 @@
|
|||||||
"displayName": "Release",
|
"displayName": "Release",
|
||||||
"description": "Release build",
|
"description": "Release build",
|
||||||
"inherits": "debug",
|
"inherits": "debug",
|
||||||
|
"generator": "Ninja",
|
||||||
"binaryDir": "${sourceDir}/build/release",
|
"binaryDir": "${sourceDir}/build/release",
|
||||||
"cacheVariables": {
|
"cacheVariables": {
|
||||||
"CMAKE_BUILD_TYPE": "Release"
|
"CMAKE_BUILD_TYPE": "Release",
|
||||||
|
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user