| Summary: | feature request: prepare kwin for unity build | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | tom <a.pst> |
| Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 5.17.5 | ||
| Target Milestone: | --- | ||
| Platform: | Chakra | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
tom
2020-01-08 16:36:06 UTC
As far as I know, kde has no policy regarding unity builds. On the other hand, with the introduction of C++ modules, perhaps we don't need to care about unity builds, we're still miles away from using modules in our codebase though. Regardless, such things should be decided at kde level. Let's revisit if KDE's policies change. (In reply to Vlad Zahorodnii from comment #1) > As far as I know, kde has no policy regarding unity builds. On the other > hand, with the introduction of C++ modules, perhaps we don't need to care > about unity builds, we're still miles away from using modules in our > codebase though. Regardless, such things should be decided at kde level. > Let's revisit if KDE's policies change. hi, i don't know about C++ modules, but there is a short explanation what unity build is : https://mesonbuild.com/Unity-builds.html unity build can shorten time to build massive, but i will need a code rewrite because it can handle only one definition per unit, so it's impossible to overload a identifier cmake unity vuild:https://cmake.org/cmake/help/latest/variable/CMAKE_UNITY_BUILD.html |