Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Packaging recommendations

Simon Ser edited this page Jan 31, 2021 · 3 revisions

The wlroots build system defaults are optimized for developer builds. Packagers may want to tweak it:

  • Set -Dbuildtype/-Doptimization to your distribution's preferred settings (some distribution-specific Meson wrappers already do this automatically).
  • Set -Dwerror=false to avoid failing the build on warnings. This ensures warnings introduced in newer compiler releases and additions to other libraries don't break your builds. Bug reports and patches to fix warnings are still welcome.
  • Set -Dauto_features=enabled, then opt-out of the features you don't want. This ensures Meson will tell you when a dependency is missing, instead of silently disabling features.
Clone this wiki locally