diff --git a/.zed/debug.json b/.zed/debug.json new file mode 100644 index 0000000..fb4a912 --- /dev/null +++ b/.zed/debug.json @@ -0,0 +1,36 @@ +// Project-local debug tasks +// +// For more documentation on how to configure debug tasks, +// see: https://zed.dev/docs/debugger +[ + { + "label": "Build Main", + "adapter": "CodeLLDB", + "program": "a.out", + "request": "launch", + "build": { + "command": "g++", + "args": ["-std=c++20", "-fopenmp", "./src/main.cpp", "-o3"] + } + }, + { + "label": "Build & Debug Main", + "adapter": "CodeLLDB", + "request": "launch", + "program": "$ZED_WORKTREE_ROOT/a.out", + "cwd": "$ZED_WORKTREE_ROOT", + "stopOnEntry": false, + "build": { + "command": "g++", + "args": [ + "-std=c++20", + "-fopenmp", + "-g", + "-O0", + "./src/main.cpp", + "-o", + "a.out" + ] + } + } +] diff --git a/.zed/settings.json b/.zed/settings.json new file mode 100644 index 0000000..14aa2b7 --- /dev/null +++ b/.zed/settings.json @@ -0,0 +1,8 @@ + { + "languages": { + "C++": { + "tab_size": 4, + "format_on_save": "on" + } + } + }