admin
2025-04-14 fa5b069f9021a73210dcc45ebcc89883306372e6
调试配置文件
3个文件已添加
71 ■■■■■ 已修改文件
.vscode/launch.json 36 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
.vscode/tasks.json 35 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
build/SimHei.ttf 补丁 | 查看 | 原始文档 | blame | 历史
.vscode/launch.json
New file
@@ -0,0 +1,36 @@
{
    // 使用 IntelliSense 了解相关属性。
    // 悬停以查看现有属性的描述。
    // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "name": "(gdb) 启动",
            "type": "cppdbg",
            "request": "launch",
            "program": "${workspaceFolder}/build/AIRecognize",
            "args": [],
            "stopAtEntry": false,
            "cwd": "${workspaceFolder}/build",
            "environment": [],
            "externalConsole": false,
            "MIMode": "gdb",
            "setupCommands": [
                {
                    "description": "为 gdb 启用整齐打印",
                    "text": "-enable-pretty-printing",
                    "ignoreFailures": true
                },
                {
                    "description": "将反汇编风格设置为 Intel",
                    "text": "-gdb-set disassembly-flavor intel",
                    "ignoreFailures": true
                }
            ],
            "preLaunchTask": "build",
            "miDebuggerPath": "/usr/bin/gdb"
        }
    ]
}
.vscode/tasks.json
New file
@@ -0,0 +1,35 @@
{
    "version": "2.0.0",
    "options": {
        "cwd": "${workspaceFolder}/build"
    },
    "tasks": [
        {
            "type": "shell",
            "label": "cmake",
            "command": "cmake",
            "args": [
                ".."
            ]
        },
        {
            "label": "make",
            "group": {
                "kind": "build",
                "isDefault": true
            },
            "command":"make",
            "args": [
            ]
        },
        {
            "label": "build",
            "dependsOrder": "sequence",
            "dependsOn":[
                "cmake",
                "make"
            ]
        }
    ]
}
build/SimHei.ttf
Binary files differ