Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Meson build backend #82

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

alexhrao
Copy link

This commit adds a meson build backend while retaining the existing Make backend. It also runs the make release command, which reformatted many of the files, as well as removing a good number of executable permissions.

Building with meson can be done by:

$ meson setup builddir
$ meson compile -C builddir

The dpcmd executable is now inside builddir as dpcmd.

Finally, this also adds a .clang-format file. This makes it easier for IDEs to understand the formatting considerations for this repository. Its contents are simply a --dump-config from the standard WebKit clang-format configuration.

Instructions on how to build have also been added to the README.md file, which still includes the same instructions for using make.

This commit adds a meson build backend while retaining the existing Make
backend. It also runs the `make release` command, which reformatted many
of the files, as well as removing a good number of executable permissions.

Building with `meson` can be done by:

```bash
$ meson setup builddir
$ meson compile -C builddir
```

The `dpcmd` executable is now inside `builddir` as `dpcmd`.

Finally, this also adds a `.clang-format` file. This makes it easier for
IDEs to understand the formatting considerations for this repository. Its
contents are simply a `--dump-config` from the standard `WebKit` `clang-format`
configuration.

Instructions on how to build have also been added to the `README.md` file,
which still includes the same instructions for using `make`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant