Re: [HACKERS] WIP: About CMake v2 - Mailing list pgsql-hackers

From Yuriy Zhuravlev
Subject Re: [HACKERS] WIP: About CMake v2
Date
Msg-id CANiD2e_ayNqkOzoL_6wSmDqs_7ezV_i_9R_czkEW++_vaLhMWQ@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] WIP: About CMake v2  (Vladimir Rusinov <vrusinov@google.com>)
List pgsql-hackers

2017-02-12 20:55 GMT+03:00 Vladimir Rusinov <vrusinov@google.com>:
Overall, when things go wrong debugging cmake requires cmake knowledge, while autotools mostly require shell knowledge which is much more common (again, for sysadmins/packagers).

It's not really true because of CMake scripts much easier than tons of crap bash (configure) and m4 scripts in Autotools, also please don't forget Windows MSVC, Xcode and etc usage.  

PS: I personally like Google's internal version of https://bazel.build/ a lot. I've never used open-source version but I presume it's similar. While it has many problems (Java, lack of popular IDE support, lack of popularity and, again, Java) good parts are rules are both machine- and human- readable and writable and generally easy to debug. I'm not bold enough to propose PostgreSQL to use it, but I'd be happy to see ideas from it to be used elsewhere.

We have many build systems, for example, another one  http://mesonbuild.com/ but CMake the best today as meta build system. 

pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: [HACKERS] removing tsearch2
Next
From: Amit Langote
Date:
Subject: Re: [HACKERS] Bold itemized list entries