Initial commit

This commit is contained in:
2026-07-09 11:27:59 +08:00
commit 3f1edda843
126 changed files with 34446 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/../common",
"${workspaceFolder}/**",
"${workspaceFolder}/mysql/include"
],
"defines": [],
"cStandard": "c11",
"cppStandard": "gnu++14",
"intelliSenseMode": "linux-gcc-x64"
}
],
"version": 4
}
+31
View File
@@ -0,0 +1,31 @@
{
"configurations": [
{
"name": "C/C++: g++ build and debug active file",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/../deploy/lib${workspaceFolderBasename}.so",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"description": "Set Disassembly Flavor to Intel",
"text": "-gdb-set disassembly-flavor intel",
"ignoreFailures": true
}
],
"preLaunchTask": "C/C++: g++ build StoredProcedure.so",
// "miDebuggerPath": "/usr/bin/gdb"
}
],
"version": "2.0.0"
}
+5
View File
@@ -0,0 +1,5 @@
{
"C_Cpp.default.includePath": [
"${workspaceFolder}/../common"
]
}
+37
View File
@@ -0,0 +1,37 @@
{
"tasks": [
{
"type": "cppbuild",
"label": "C/C++: g++ build StoredProcedure.so",
"command": "/usr/bin/g++",
"args": [
"-fdiagnostics-color=always",
"-g",
"${workspaceFolder}/*.cpp",
"${workspaceFolder}/../common/thread.cpp",
"${workspaceFolder}/../common/debug.c",
"-std=c++11",
"-fPIC",
"-shared",
"-I","${workspaceFolder}/../common",
"-I","${workspaceFolder}/mysql/include",
"-L","${workspaceFolder}/mysql/lib",
"-l","mysqlclient",
"-Wl,-rpath","${workspaceFolder}/../deploy/",
"-o","${workspaceFolder}/../deploy/lib${workspaceFolderBasename}.so",
],
"options": {
"cwd": "${workspaceFolder}"
},
"problemMatcher": [
"$gcc"
],
"group": {
"kind": "build",
"isDefault": true
},
"detail": "Task generated by Debugger."
}
],
"version": "2.0.0"
}