initial commit

This commit is contained in:
2021-06-29 19:28:14 +02:00
commit 5c7908ac4b
20 changed files with 913 additions and 0 deletions

30
.vscode/c_cpp_properties.json vendored Normal file
View File

@@ -0,0 +1,30 @@
{
"configurations": [
{
"name": "Mac",
"browse": {
"path": [
"${workspaceFolder}"
],
"limitSymbolsToIncludedHeaders": true
},
"includePath": [
"${workspaceFolder}/**",
"${workspaceFolder}/stdlib",
"/usr/local/opt/openssl/include",
"${workspaceFolder}"
],
"defines": [],
"macFrameworkPath": [
"/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks"
],
"compilerPath": "/usr/bin/clang",
"cStandard": "c11",
"cppStandard": "c++17",
"intelliSenseMode": "clang-x64",
"configurationProvider": "vector-of-bool.cmake-tools",
"compileCommands": "${workspaceFolder}/build/compile_commands.json"
}
],
"version": 4
}

20
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,20 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "(lldb) Launch",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/build/msql",
"args": [],
"stopAtEntry": false,
"cwd": "${fileDirname}",
"environment": [],
"externalConsole": false,
"MIMode": "lldb"
}
]
}

78
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,78 @@
{
"files.associations": {
"regex": "cpp",
"__config": "cpp",
"__nullptr": "cpp",
"exception": "cpp",
"initializer_list": "cpp",
"new": "cpp",
"stdexcept": "cpp",
"typeinfo": "cpp",
"__functional_03": "cpp",
"__string": "cpp",
"deque": "cpp",
"functional": "cpp",
"string": "cpp",
"system_error": "cpp",
"vector": "cpp",
"__bit_reference": "cpp",
"__functional_base": "cpp",
"algorithm": "cpp",
"atomic": "cpp",
"bitset": "cpp",
"chrono": "cpp",
"iterator": "cpp",
"limits": "cpp",
"locale": "cpp",
"memory": "cpp",
"ratio": "cpp",
"tuple": "cpp",
"type_traits": "cpp",
"unordered_map": "cpp",
"__functional_base_03": "cpp",
"__hash_table": "cpp",
"__tuple": "cpp",
"utility": "cpp",
"__split_buffer": "cpp",
"ios": "cpp",
"string_view": "cpp",
"map": "cpp",
"__tree": "cpp",
"istream": "cpp",
"__locale": "cpp",
"iosfwd": "cpp",
"array": "cpp",
"hash_map": "cpp",
"list": "cpp",
"optional": "cpp",
"sstream": "cpp",
"cstddef": "cpp",
"hashtable": "cpp",
"variant": "cpp",
"__debug": "cpp",
"__errc": "cpp",
"__mutex_base": "cpp",
"__node_handle": "cpp",
"__threading_support": "cpp",
"cctype": "cpp",
"cmath": "cpp",
"cstdarg": "cpp",
"cstdint": "cpp",
"cstdio": "cpp",
"cstdlib": "cpp",
"cstring": "cpp",
"ctime": "cpp",
"cwchar": "cpp",
"cwctype": "cpp",
"fstream": "cpp",
"iomanip": "cpp",
"iostream": "cpp",
"mutex": "cpp",
"ostream": "cpp",
"streambuf": "cpp",
"thread": "cpp"
},
"C_Cpp.intelliSenseEngineFallback": "Disabled",
"cmake.configureOnOpen": true,
"C_Cpp.configurationWarnings": "Disabled"
}

26
.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,26 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "compile",
"type": "shell",
"command": "clang++ -o mi -g -mmacosx-version-min=10.14 -lstdc++ -std=c++1z -lssl -lcrypto -lpqxx -lpq -L/usr/local/opt/openssl/lib -I/usr/local/opt/openssl/include -L/usr/local/opt/libpqxx/lib -I/usr/local/opt/libpqxx/include -L/usr/local/opt/postgres/lib -I/usr/local/opt/postgres/include -I./ -I./stdlib *.cpp ./stdlib/*.cpp",
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "compile O3",
"type": "shell",
"command": "clang++ -o mi -O3 -mmacosx-version-min=10.14 -lstdc++ -std=c++1z -lssl -lcrypto -lpqxx -lpq -L/usr/local/opt/openssl/lib -I/usr/local/opt/openssl/include -L/usr/local/opt/libpqxx/lib -I/usr/local/opt/libpqxx/include -L/usr/local/opt/postgres/lib -I/usr/local/opt/postgres/include -I./ -I./stdlib *.cpp ./stdlib/*.cpp",
"group": {
"kind": "build",
"isDefault": false
},
"problemMatcher": []
}
]
}