Paste: vscode json

Author: llj
Mode: factor
Date: Fri, 3 Sep 2021 14:23:05
Plain Text |
tasks.json---
{
  "tasks": [
    {
      "type": "cppbuild",
      "label": "C/C++: g++.exe 生成活动文件",
      "command": "D:/software/Dev-Cpp/TDM-GCC-64/bin/g++.exe",
      "args": [
        "-g",
        "-std=c++11",
        "-D LOCAL",
        "-O0",
        "-Wall",
        "${file}",
        "-o",
        "C:/Users/callg/AppData/Local/Temp/${fileBasenameNoExtension}.exe",
        "-lm",
        "-Wl,--stack=102400000"
      ],
      "options": {"cwd": "C:/Users/callg/AppData/Local/Temp"},
      "problemMatcher": ["$gcc"],
      "group": "build",
      "detail": "调试器生成的任务。"
    }
  ],
  "version": "2.0.0"
}

launch.json---
{
  // 使用 IntelliSense 了解相关属性。 
  // 悬停以查看现有属性的描述。
  // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
  "version": "0.2.0",
  "configurations": [
    {
      "name": "g++.exe - 生成和调试活动文件",
      "type": "cppdbg",
      "request": "launch",
      "program": "C:/Users/callg/AppData/Local/Temp/${fileBasenameNoExtension}.exe",
      "args": [],
      "stopAtEntry": false,
      "cwd": "C:/Users/callg/AppData/Local/Temp",
      "environment": [],
      "externalConsole": false,
      "MIMode": "gdb",
      "miDebuggerPath": "D:/software/Dev-Cpp/TDM-GCC-64/bin/gdb.exe",
      "setupCommands": [
        {
          "description": "为 gdb 启用整齐打印",
          "text": "-enable-pretty-printing",
          "ignoreFailures": true
        }
      ],
      "preLaunchTask": "C/C++: g++.exe 生成活动文件"
    }
  ]
}

c_cpp_properties.json---
{
    "configurations": [
        {
            "name": "TDM-GCC",
            "includePath": [
                "${workspaceFolder}/**"
            ],
            "defines": [
                "DEBUG"
            ],
            "compilerPath": "D:/software/Dev-Cpp/TDM-GCC-64/bin/gcc.exe",
            "cStandard": "c17",
            "cppStandard": "c++17",
            "intelliSenseMode": "windows-gcc-x86"
        }
    ],
    "version": 4
}

New Annotation

Summary:
Author:
Mode:
Body: