.vscode | ||
browser | ||
server | ||
subprojects | ||
utils | ||
.clang-format | ||
.clangd | ||
LICENSE | ||
meson.build | ||
README.md |
web-stack-project
Build project
- Open project in terminal
- Run
meson setup builddir
, orCXX=clang-<version> meson setup builddir
if clang and clang-version is different - Navigate into builddir,
cd builddir
- Compile
meson compile
- Run,
./browser
or./server
VS Code development setup
Install
- LLVM and clang,
clang-15
recommended,clang-15
based, check withclang --version
- Meson, build system
- Meson VS Code extension
- VSCode - clangd, linter
- VSCode - CodeLLDB, debugger
- VSCode - Better C++ Syntax, syntax higlighting
Config
Add these to settings.json
if necessary
{
// probably necessary
"clangd.onConfigChanged": "restart",
// only necessary if default `/usr/bin/clangd` isn't the correct version
"clangd.path": "/usr/bin/clangd-<version>", // <version> is a place holder, eg, `clangd-15`
}