web-stack-project/README.md
2023-01-17 15:19:23 +01:00

1.4 KiB

web-stack-project

Build project

  • Open project in terminal
  • Run meson setup builddir, or CXX=clang-<version> meson setup builddir if clang and clang-version is different
  • Navigate into builddir, cd builddir
  • Compile meson compile
  • Run, ./browser or ./server

Toolchain

Linux

Install clang preferably clang-15 or clang-14;

Windows

  • Install Visual Studio, with Desktop development with C++ enabled
  • Install a newer LLVM

VS Code development setup

Install Linux

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`
}