✨ feat(.vscode): 添加 VSCode 启动配置和构建任务文件
✨ feat(.vscode): 设置 C++ 和 C 的标准版本 ✏️ docs(src/hidapi/windows/pp_data_dump/README.md): 更新 README.md 文件结尾的格式main
parent
7dd4268210
commit
18e6cf26be
|
@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -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
|
||||
}
|
|
@ -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."
|
||||
}
|
||||
]
|
||||
}
|
2
SDL3
2
SDL3
|
@ -1 +1 @@
|
|||
Subproject commit 1266210685a14b344a9049938677a89a092dfa5c
|
||||
Subproject commit 10734d9422cb3283442fdff735302d113251f3f3
|
Loading…
Reference in New Issue