To initialize project with debug mode, run:
meson setup --buildtype=debug build/ ./
Reconfigure run:
meson setup --buildtype=debug --reconfigure build/ ./
To build project, run:
meson compile -C build/
If you want rebuild project entirely, run:
meson compile --clean -C build/
meson compile -C build/
To run binary, run:
./build/app/app
To install library to some place, for example ~/.local/self
, run:
meson setup --buildtype=release --prefix="~/.local/self" --reconfigure build/ ./
meson install -C build/