build: fix -DCRASH_REPORTER=OFF

This commit is contained in:
outfoxxed 2024-08-28 11:32:14 -07:00
parent 79b22af093
commit e327d6750d
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E
2 changed files with 12 additions and 6 deletions

View file

@ -18,16 +18,20 @@ At least Qt 6.6 is required.
All features are enabled by default and some have their own dependencies.
##### Additional note to packagers:
If your package manager supports enabling some features but not others,
we recommend not exposing the subfeatures and just the main ones that introduce
new dependencies: `wayland`, `x11`, `pipewire`, `hyprland`
### QML Library
If you wish to use a linter or similar tools, you will need the QML Modules for it to pick up on the types.
If you wish to use a linter or similar tools, you will need the QML Modules for it
to pick up on the types.
To disable: `-DINSTALL_QML_LIB=OFF`
### Crash Reporter
The crash reporter catches crashes, restarts quickshell when it crashes,
and collects useful crash information in one place. Leaving this enabled will
enable us to fix bugs far more easily.
To disable: `-DCRASH_REPORTER=OFF`
Dependencies: `google-breakpad`
### Jemalloc
We recommend leaving Jemalloc enabled as it will mask memory fragmentation caused

View file

@ -47,6 +47,8 @@ qt_add_library(quickshell-core STATIC
if (CRASH_REPORTER)
set(CRASH_REPORTER_DEF 1)
else()
set(CRASH_REPORTER_DEF 0)
endif()
add_library(quickshell-build INTERFACE)