[poppler] RFC: Dropping autotools

Adrian Johnson ajohnson at redneon.com
Sat Aug 19 11:46:28 UTC 2017

On 18/08/17 07:43, Albert Astals Cid wrote:
> Ok, this is going to be controversial (or maybe not).
> I'd like to drop autotools and just use cmake as build system.
> Reasons:
>  * I don't use autotools so whenever something new happens i regularly forget 
> to try it works there (as proven last time with the nss includes)
>  * cmake is more portable (i.e. doesn't uses shell scripts)
>  * cmake gets releases more often
>  * cmake code is easier to read (for me)
>  * AFAICS Not even gnome (which was the "last" big autotools user) plans to 
> use autotools anymore
> Only issues:
>  * We don't have gtk-doc support
>  * We don't have make dist-xz support (which i use for releases)

We need to update INSTALL to document building poppler with cmake. It
needs to cover the various use cases users are likely to need such as
enable/disable features, setting the install prefix, and setting
compiler variables.

> But i'm sure both should be fairly easy to add, just never cared to do it 
> since the only times i use them are for releases.
> Comments?

Does cmake support cross compilation? I use autotools cross compilation
to build win32 builds.

> Cheers,
>   Albert
> _______________________________________________
> poppler mailing list
> poppler at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/poppler

More information about the poppler mailing list