c_cpp_properties.json:
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/service/include",
"${workspaceFolder}/service/src/swift",
"${workspaceFolder}/service/src/resource",
"${workspaceFolder}/service/src/frame",
"${workspaceFolder}/service/src/database",
"${workspaceFolder}/service/src/oss",
"${workspaceFolder}/service/src/tss",
"${workspaceFolder}/service/src/gamesvr",
"${workspaceFolder}/**"
],
"defines": [],
"compilerPath": "/usr/lib64/ccache/clang",
"cStandard": "c99",
"cppStandard": "c++14",
"intelliSenseMode": "linux-clang-x64"
}
],
"version": 4
}
launch.json:
{
"version": "0.2.0",
"configurations": [
{
"name": "attach gamesvr",
"type": "cppdbg",
"request": "attach",
"program": "${workspaceFolder}/service/home/gamesvr/bin/gamesvr",
"processId": "${command:pickProcess}",
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}
settings.json
{ "files.associations": { "hash_map": "cpp", "hash_set": "cpp", "bitset": "cpp", "chrono": "cpp", "algorithm": "cpp", "hashtable": "cpp", "typeinfo": "cpp", "typeindex": "cpp", "functional": "cpp", "cctype": "cpp", "clocale": "cpp", "cmath": "cpp", "csetjmp": "cpp", "cstdarg": "cpp", "cstddef": "cpp", "cstdio": "cpp", "cstdlib": "cpp", "cstring": "cpp", "ctime": "cpp", "cwchar": "cpp", "cwctype": "cpp", "strstream": "cpp", "*.tcc": "cpp", "complex": "cpp", "condition_variable": "cpp", "deque": "cpp", "list": "cpp", "unordered_map": "cpp", "unordered_set": "cpp", "vector": "cpp", "exception": "cpp", "fstream": "cpp", "initializer_list": "cpp", "iomanip": "cpp", "iosfwd": "cpp", "iostream": "cpp", "istream": "cpp", "limits": "cpp", "mutex": "cpp", "new": "cpp", "ostream": "cpp", "numeric": "cpp", "ratio": "cpp", "sstream": "cpp", "stdexcept": "cpp", "streambuf": "cpp", "system_error": "cpp", "thread": "cpp", "tuple": "cpp", "type_traits": "cpp", "array": "cpp", "cfenv": "cpp", "cinttypes": "cpp", "cstdint": "cpp", "random": "cpp", "regex": "cpp", "utility": "cpp", "atomic": "cpp", "string": "cpp" }, "files.watcherExclude": {
"**/*.d": true,
"**/*.o": true,
"**/*.a": true,
"**/*.log": true,
"**/service/src/tconnd/**": true,
"**/service/src/stresstest/**": true,
"**/service/home/**": true,
"**/service/tools/**": true,
"**/service/lib/**": true,
"**/BattleSystem/BattleClient/**": true
},
"files.exclude": {
},
"search.exclude": {
"**/service/home/**": true,
"**/service/tools/**": true,
"**/service/lib/**": true,
"**/BattleSystem/BattleClient/**": true
},
"C_Cpp.errorSquiggles": "Disabled",
"editor.minimap.enabled": false,
} tasks.json
{
"tasks": [
{
"label": "rebuild",
"type": "shell",
"command": "${workspaceFolder}/service/src/release_make.sh",
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "start",
"type": "shell",
"command": "${workspaceFolder}/service/home/restart.sh",
"group": {
"kind": "build",
"isDefault": true
}
},
],
"version": "2.0.0"
}
posted on 2021-01-27 17:37
长戟十三千 阅读(309)
评论(0) 编辑 收藏 引用