[Pixman] [PATCH] Add CMake build rules

Emil Velikov emil.l.velikov at gmail.com
Sun May 22 22:09:26 UTC 2016

On 22 May 2016 at 10:47, whitequark <whitequark at whitequark.org> wrote:
> 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.
Err... wrong ? The following is not too complex, right ?

     parse_list("Makefile.sources" $(libpixman_sources))

Obviously one needs to add the said function. Sadly the other bits in
pq's list might be rather hard to implement, depending on your cmake

>> [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.
Can you elaborate how cmake makes thing easier ? I think that there's
some misunderstanding here, which brings you to false assumptions.
Please list the steps you have to do for each one.

As the person trying to juggle the Mesa build systems... I would
kindly urge you against the idea. Please look if the cross-build
toolchains thing is an actual issue, before introducing and/or
maintaining another build system.

Obviously my word hear means jack, so ...


More information about the Pixman mailing list