forked from quickshell/quickshell
build: fix -DCRASH_REPORTER=OFF
This commit is contained in:
parent
79b22af093
commit
e327d6750d
2 changed files with 12 additions and 6 deletions
16
BUILD.md
16
BUILD.md
|
@ -18,16 +18,20 @@ At least Qt 6.6 is required.
|
||||||
|
|
||||||
All features are enabled by default and some have their own dependencies.
|
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
|
### 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`
|
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
|
### Jemalloc
|
||||||
We recommend leaving Jemalloc enabled as it will mask memory fragmentation caused
|
We recommend leaving Jemalloc enabled as it will mask memory fragmentation caused
|
||||||
|
|
|
@ -47,6 +47,8 @@ qt_add_library(quickshell-core STATIC
|
||||||
|
|
||||||
if (CRASH_REPORTER)
|
if (CRASH_REPORTER)
|
||||||
set(CRASH_REPORTER_DEF 1)
|
set(CRASH_REPORTER_DEF 1)
|
||||||
|
else()
|
||||||
|
set(CRASH_REPORTER_DEF 0)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
add_library(quickshell-build INTERFACE)
|
add_library(quickshell-build INTERFACE)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue