forked from pfh4wq3fa/jcqjmn
Merge branch '王振宇' of https://bdgit.educoder.net/pfh4wq3fa/jcqjmn into 王振宇
commit
e2b1ff3303
@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "windows-gcc-x64",
|
||||||
|
"includePath": [
|
||||||
|
"${workspaceFolder}/**"
|
||||||
|
],
|
||||||
|
"compilerPath": "C:/mingw64/bin/gcc.exe",
|
||||||
|
"cStandard": "${default}",
|
||||||
|
"cppStandard": "${default}",
|
||||||
|
"intelliSenseMode": "windows-gcc-x64",
|
||||||
|
"compilerArgs": [
|
||||||
|
""
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"version": 4
|
||||||
|
}
|
@ -1,32 +1,50 @@
|
|||||||
{
|
{
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "C/C++: cpp.exe 生成和调试活动文件",
|
||||||
|
"type": "cppdbg",
|
||||||
|
"request": "launch",
|
||||||
|
"program": "${fileDirname}\\${fileBasenameNoExtension}.exe",
|
||||||
|
"args": [],
|
||||||
|
"stopAtEntry": false,
|
||||||
|
"cwd": "${fileDirname}",
|
||||||
|
"environment": [],
|
||||||
|
"externalConsole": false,
|
||||||
|
"MIMode": "gdb",
|
||||||
|
"miDebuggerPath": "C:\\mingw64\\bin\\gdb.exe",
|
||||||
|
"setupCommands": [
|
||||||
{
|
{
|
||||||
"name": "C/C++: cpp.exe 生成和调试活动文件",
|
"description": "为 gdb 启用整齐打印",
|
||||||
"type": "cppdbg",
|
"text": "-enable-pretty-printing",
|
||||||
"request": "launch",
|
"ignoreFailures": true
|
||||||
"program": "${fileDirname}\\${fileBasenameNoExtension}.exe",
|
},
|
||||||
"args": [],
|
{
|
||||||
"stopAtEntry": false,
|
"description": "将反汇编风格设置为 Intel",
|
||||||
"cwd": "${fileDirname}",
|
"text": "-gdb-set disassembly-flavor intel",
|
||||||
"environment": [],
|
"ignoreFailures": true
|
||||||
"externalConsole": false,
|
}
|
||||||
"MIMode": "gdb",
|
],
|
||||||
"miDebuggerPath": "C:\\mingw64\\bin\\gdb.exe",
|
"preLaunchTask": "C/C++: cpp.exe 生成活动文件"
|
||||||
"setupCommands": [
|
},
|
||||||
{
|
{
|
||||||
"description": "为 gdb 启用整齐打印",
|
"name": "C/C++ Runner: Debug Session",
|
||||||
"text": "-enable-pretty-printing",
|
"type": "cppdbg",
|
||||||
"ignoreFailures": true
|
"request": "launch",
|
||||||
},
|
"args": [],
|
||||||
{
|
"stopAtEntry": false,
|
||||||
"description": "将反汇编风格设置为 Intel",
|
"externalConsole": true,
|
||||||
"text": "-gdb-set disassembly-flavor intel",
|
"cwd": "c:/Users/31989/Desktop/机场起降模拟/jcqjmn",
|
||||||
"ignoreFailures": true
|
"program": "c:/Users/31989/Desktop/机场起降模拟/jcqjmn/build/Debug/outDebug",
|
||||||
}
|
"MIMode": "gdb",
|
||||||
],
|
"miDebuggerPath": "gdb",
|
||||||
"preLaunchTask": "C/C++: cpp.exe 生成活动文件"
|
"setupCommands": [
|
||||||
|
{
|
||||||
|
"description": "Enable pretty-printing for gdb",
|
||||||
|
"text": "-enable-pretty-printing",
|
||||||
|
"ignoreFailures": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
@ -1,5 +1,41 @@
|
|||||||
{
|
{
|
||||||
"files.associations": {
|
"files.associations": {
|
||||||
"iostream": "cpp"
|
"iostream": "cpp"
|
||||||
}
|
},
|
||||||
|
"C_Cpp_Runner.msvcBatchPath": "",
|
||||||
|
"C_Cpp_Runner.cCompilerPath": "gcc",
|
||||||
|
"C_Cpp_Runner.cppCompilerPath": "g++",
|
||||||
|
"C_Cpp_Runner.debuggerPath": "gdb",
|
||||||
|
"C_Cpp_Runner.cStandard": "",
|
||||||
|
"C_Cpp_Runner.cppStandard": "",
|
||||||
|
"C_Cpp_Runner.useMsvc": false,
|
||||||
|
"C_Cpp_Runner.warnings": [
|
||||||
|
"-Wall",
|
||||||
|
"-Wextra",
|
||||||
|
"-Wpedantic",
|
||||||
|
"-Wshadow",
|
||||||
|
"-Wformat=2",
|
||||||
|
"-Wconversion",
|
||||||
|
"-Wnull-dereference",
|
||||||
|
"-Wsign-conversion"
|
||||||
|
],
|
||||||
|
"C_Cpp_Runner.enableWarnings": true,
|
||||||
|
"C_Cpp_Runner.warningsAsError": false,
|
||||||
|
"C_Cpp_Runner.compilerArgs": [],
|
||||||
|
"C_Cpp_Runner.linkerArgs": [],
|
||||||
|
"C_Cpp_Runner.includePaths": [],
|
||||||
|
"C_Cpp_Runner.includeSearch": [
|
||||||
|
"*",
|
||||||
|
"**/*"
|
||||||
|
],
|
||||||
|
"C_Cpp_Runner.excludeSearch": [
|
||||||
|
"**/build",
|
||||||
|
"**/build/**",
|
||||||
|
"**/.*",
|
||||||
|
"**/.*/**",
|
||||||
|
"**/.vscode",
|
||||||
|
"**/.vscode/**"
|
||||||
|
],
|
||||||
|
"C_Cpp_Runner.useAddressSanitizer": false,
|
||||||
|
"C_Cpp_Runner.showCompilationTime": false
|
||||||
}
|
}
|
Loading…
Reference in new issue