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