You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.
Simon Ser edited this page Feb 9, 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.
Avoid disabling assertions if possible (ie. don't set -Db_ndebug=true). The performance gain is minimal and it makes bugs much harder to track down.