[Pixman] [PATCH] Add CMake build rules

whitequark whitequark at whitequark.org
Sun May 22 09:47:08 UTC 2016


On 2016-05-22 09:20, Pekka Paalanen wrote:
> [snip]
> 
> 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.

> [snip]
> 
> 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 
understand,
than both of those alone. I do not think that such a system would be
of benefit to anyone.

> [snip]
> 
> 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 
considers
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.

-- 
whitequark


More information about the Pixman mailing list