From 18e6cf26be11b7c07ceb6c5495fc16fb7020b6c1 Mon Sep 17 00:00:00 2001 From: JiXieShi Date: Sat, 14 Dec 2024 23:57:04 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(.vscode):=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=20VSCode=20=E5=90=AF=E5=8A=A8=E9=85=8D=E7=BD=AE=E5=92=8C?= =?UTF-8?q?=E6=9E=84=E5=BB=BA=E4=BB=BB=E5=8A=A1=E6=96=87=E4=BB=B6=20?= =?UTF-8?q?=E2=9C=A8=20feat(.vscode):=20=E8=AE=BE=E7=BD=AE=20C++=20?= =?UTF-8?q?=E5=92=8C=20C=20=E7=9A=84=E6=A0=87=E5=87=86=E7=89=88=E6=9C=AC?= =?UTF-8?q?=20=E2=9C=8F=EF=B8=8F=20docs(src/hidapi/windows/pp=5Fdata=5Fdum?= =?UTF-8?q?p/README.md):=20=E6=9B=B4=E6=96=B0=20README.md=20=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E7=BB=93=E5=B0=BE=E7=9A=84=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vscode/launch.json | 34 ++++++++++++++++++++++++++++++++++ .vscode/settings.json | 8 ++++++++ .vscode/tasks.json | 24 ++++++++++++++++++++++++ SDL3 | 2 +- 4 files changed, 67 insertions(+), 1 deletion(-) create mode 100644 .vscode/launch.json create mode 100644 .vscode/settings.json create mode 100644 .vscode/tasks.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..30c4356 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,34 @@ +{ + // 使用 IntelliSense 了解相关属性。 + // 悬停以查看现有属性的描述。 + // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "(gdb) 启动", + "type": "cppdbg", + "request": "launch", + "program": "${workspaceFolder}/build/HW_Lib.exe", + "args": [], + "stopAtEntry": false, + "cwd": "${workspaceFolder}/build", + "preLaunchTask": "CMake Build", + "environment": [], + "externalConsole": false, + "MIMode": "gdb", + "miDebuggerPath": "", + "setupCommands": [ + { + "description": "为 gdb 启用整齐打印", + "text": "-enable-pretty-printing", + "ignoreFailures": true + }, + { + "description": "将反汇编风格设置为 Intel", + "text": "-gdb-set disassembly-flavor intel", + "ignoreFailures": true + } + ] + } + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..6b827d7 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,8 @@ +{ + "C_Cpp.default.cppStandard": "c++23", + "C_Cpp.default.cStandard": "c99", + "C_Cpp.default.customConfigurationVariables": { + }, + "C_Cpp.inlayHints.autoDeclarationTypes.enabled": false, + "C_Cpp.inlayHints.parameterNames.enabled": true +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..ba071ec --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,24 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "CMake Build", + "type": "shell", + "command": "cmake", + "args": [ + "--build", + "build", + "--target", + "all" + ], + "group": { + "kind": "build", + "isDefault": true + }, + "problemMatcher": [ + "$gcc" + ], + "detail": "Build the project using CMake and Ninja." + } + ] +} diff --git a/SDL3 b/SDL3 index 1266210..10734d9 160000 --- a/SDL3 +++ b/SDL3 @@ -1 +1 @@ -Subproject commit 1266210685a14b344a9049938677a89a092dfa5c +Subproject commit 10734d9422cb3283442fdff735302d113251f3f3