[Pixman] [PATCH] Add CMake build rules
whitequark at whitequark.org
Sun May 22 09:47:08 UTC 2016
On 2016-05-22 09:20, Pekka Paalanen wrote:
> Assuming people were happy adding a new build system, which I very
> much doubt,
I've checked the mailing list of Cairo before starting this work.
There have been two attempts at introducing a CMake buildsystem, and
no conceptual objections were raised. While Pixman is not Cairo,
I considered that enough to give this patch a try.
> That seems to be the only thing you use from the current build
> system. IOW, you are duplicating:
> - all source file lists
> - all build rules (built binaries)
> - all hand-written code checking for compiler features
> - config.h template
Generating CMake and autoconf build rules from a shared source would
surely result in a system that is more complex, and harder to
than both of those alone. I do not think that such a system would be
of benefit to anyone.
> For what benefit? So that people who set up cross-build toolchains
> and projects as their job have one less component to make that
> setup for?
So that people would avoid the setup of cross-build toolchains from
becoming their job.
In any case, the purpose of submitting this patch is less of insisting
on action from upstream and more of sharing my work. If upstream
it valuable, I am willing to spend time coordinating the integration.
If not? That's fine by me as well; I'll just keep using the fork.
More information about the Pixman