build: Redo CMake files, using normal KDE conventions #2
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: BuddiesOfBudgie/budgie-daemon#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "redo-cmake-files"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This completely overhauls the CMake build files, resulting in a cleaner and more readable build system.
One thing to note is that we can't currently use the KDE compiler settings module without doing significant work to the entire codebase. I think we should definitely work on enabling it, as it turns on more warnings, and uses stricter settings, which should result in us having a safer codebase.
At the very least, this compiles.
What's with the commented out stuff?
LGTM, thanks! 💯
@Conan-Kudo that's from me testing out systemd service unit bits however I ended up commenting it out as labwc has a different mechanism for launching applications that ensures they are done after the compositor is up and running.
Of course we could have it as a CMAKE option with labwc defaulted to ON, then when off it'll add the service files but in practice we'll need something for alternative compositors anyways. Maybe we can ensure it's launched when WAYLAND_DISPLAY is set? 🤔
I added two options that both default to ON:
INSTALL_SERVICE_FILESINSTALL_LABWCYou may have to nuke and re-configure your build directory for it to correctly pick up the defaults.