diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 00000000..7cde279c --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,89 @@ +{ + "configurations": [ + { + "name": "Linux", + "includePath": [ + "${workspaceFolder}/**", + "${workspaceFolder}/libCacheSim/include", + "${workspaceFolder}/libCacheSim/utils/include", + "${workspaceFolder}/libCacheSim", + "${workspaceFolder}/libCacheSim/dataStructure", + "${workspaceFolder}/libCacheSim/cache/eviction", + "/usr/local/include", + "/usr/include", + "/usr/include/glib-2.0", + "/usr/lib/*/glib-2.0/include", + "/usr/include/*-linux-gnu" + ], + "defines": [ + "LOGLEVEL=6", + "USE_HUGEPAGE=1", + "SUPPORT_ZSTD_TRACE=1" + ], + "compilerPath": "${default}", + "cStandard": "c17", + "cppStandard": "c++17", + "intelliSenseMode": "${default}", + "configurationProvider": "ms-vscode.cmake-tools", + "compileCommands": "${workspaceFolder}/build/compile_commands.json" + }, + { + "name": "macOS", + "includePath": [ + "${workspaceFolder}/**", + "${workspaceFolder}/libCacheSim/include", + "${workspaceFolder}/libCacheSim/utils/include", + "${workspaceFolder}/libCacheSim", + "${workspaceFolder}/libCacheSim/dataStructure", + "${workspaceFolder}/libCacheSim/cache/eviction", + "${workspaceFolder}/build/_deps/*/include", + "/usr/local/include", + "/opt/homebrew/include", + "/usr/include", + "/usr/local/include/glib-2.0", + "/opt/homebrew/include/glib-2.0", + "/usr/local/lib/glib-2.0/include", + "/opt/homebrew/lib/glib-2.0/include" + ], + "defines": [ + "LOGLEVEL=6", + "USE_HUGEPAGE=1", + "SUPPORT_ZSTD_TRACE=1", + "OS_DARWIN" + ], + "compilerPath": "${default}", + "cStandard": "c17", + "cppStandard": "c++17", + "intelliSenseMode": "${default}", + "configurationProvider": "ms-vscode.cmake-tools", + "compileCommands": "${workspaceFolder}/build/compile_commands.json" + }, + { + "name": "Windows", + "includePath": [ + "${workspaceFolder}/**", + "${workspaceFolder}/libCacheSim/include", + "${workspaceFolder}/libCacheSim/utils/include", + "${workspaceFolder}/libCacheSim", + "${workspaceFolder}/libCacheSim/dataStructure", + "${workspaceFolder}/libCacheSim/cache/eviction", + "${workspaceFolder}/build/_deps/*/include" + ], + "defines": [ + "LOGLEVEL=6", + "USE_HUGEPAGE=1", + "SUPPORT_ZSTD_TRACE=1", + "_DEBUG", + "UNICODE", + "_UNICODE" + ], + "compilerPath": "${default}", + "cStandard": "c17", + "cppStandard": "c++17", + "intelliSenseMode": "${default}", + "configurationProvider": "ms-vscode.cmake-tools", + "compileCommands": "${workspaceFolder}/build/compile_commands.json" + } + ], + "version": 4 +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..407bc808 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,137 @@ +{ + "files.associations": { + "evictionalgo.h": "c", + "cmath": "c", + "complex": "c", + "common.h": "c", + "hashtable.h": "c", + "cli_reader_utils.h": "c", + "reader.h": "c", + "glib.h": "c", + "gfileutils.h": "c", + "gerror.h": "c", + "readerinternal.h": "c", + "akamaibin.h": "c", + "macro.h": "c", + "galloca.h": "c", + "gtypes.h": "c", + "*.tcc": "c", + "string": "cpp", + "istream": "cpp", + "streambuf": "cpp", + "iosfwd": "cpp", + "array": "cpp", + "hash_map": "cpp", + "deque": "cpp", + "list": "cpp", + "unordered_map": "cpp", + "unordered_set": "cpp", + "vector": "cpp", + "string_view": "cpp", + "initializer_list": "cpp", + "cctype": "cpp", + "clocale": "cpp", + "csignal": "cpp", + "cstdarg": "cpp", + "cstddef": "cpp", + "cstdio": "cpp", + "cstdlib": "cpp", + "cstring": "cpp", + "ctime": "cpp", + "cwchar": "cpp", + "cwctype": "cpp", + "any": "cpp", + "atomic": "cpp", + "strstream": "cpp", + "bit": "cpp", + "bitset": "cpp", + "chrono": "cpp", + "cinttypes": "cpp", + "codecvt": "cpp", + "compare": "cpp", + "concepts": "cpp", + "condition_variable": "cpp", + "cstdint": "cpp", + "map": "cpp", + "set": "cpp", + "exception": "cpp", + "algorithm": "cpp", + "functional": "cpp", + "iterator": "cpp", + "memory": "cpp", + "memory_resource": "cpp", + "numeric": "cpp", + "optional": "cpp", + "random": "cpp", + "ratio": "cpp", + "system_error": "cpp", + "tuple": "cpp", + "type_traits": "cpp", + "utility": "cpp", + "fstream": "cpp", + "iomanip": "cpp", + "iostream": "cpp", + "limits": "cpp", + "mutex": "cpp", + "new": "cpp", + "numbers": "cpp", + "ostream": "cpp", + "semaphore": "cpp", + "sstream": "cpp", + "stdexcept": "cpp", + "stop_token": "cpp", + "thread": "cpp", + "cfenv": "cpp", + "typeindex": "cpp", + "typeinfo": "cpp", + "variant": "cpp", + "vscsi.h": "c", + "libcsv.h": "c", + "lcs.h": "c", + "*.ipp": "cpp" + }, + "C_Cpp.errorSquiggles": "enabled", + "C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools", + "C_Cpp.default.compileCommands": "${workspaceFolder}/build/compile_commands.json", + "C_Cpp.intelliSenseEngine": "default", + "C_Cpp.autocompleteAddParentheses": true, + "C_Cpp.formatting": "clangFormat", + "cmake.buildDirectory": "${workspaceFolder}/build", + "cmake.sourceDirectory": "${workspaceFolder}", + "cmake.configureSettings": { + "CMAKE_BUILD_TYPE": "Debug", + "CMAKE_EXPORT_COMPILE_COMMANDS": "ON" + }, + "cmake.generator": "Unix Makefiles", + "cmake.parallelJobs": 0, + "cmake.buildBeforeRun": true, + "editor.formatOnSave": true, + "editor.insertSpaces": true, + "editor.detectIndentation": true, + "editor.rulers": [80, 100], + "editor.wordWrap": "wordWrapColumn", + "editor.wordWrapColumn": 100, + "files.trimTrailingWhitespace": true, + "files.insertFinalNewline": true, + "files.trimFinalNewlines": true, + "files.exclude": { + "**/build/**": false, + "**/.git": true, + "**/.svn": true, + "**/.hg": true, + "**/CVS": true, + "**/.DS_Store": true, + "**/Thumbs.db": true, + "**/*.o": true, + "**/*.so": true, + "**/*.a": true + }, + "search.exclude": { + "**/build/**": true, + "**/node_modules": true, + "**/bower_components": true, + "**/*.code-search": true + }, + "git.ignoreLimitWarning": true, + "terminal.integrated.cwd": "${workspaceFolder}" +}