Post 9rcL70sL494KccSeRM by h@sunbeam.city
(DIR) More posts by h@sunbeam.city
(DIR) Post #9rav7WYMDw7DAKdeFs by Lofenyy@mastodon.technology
2020-02-01T12:40:08Z
0 likes, 0 repeats
About build systems. I've been told not to use autotools. Why though? What's better? Why is it better? Is it FLOSS? Is it widely adopted?#programming Boosts appreciated.
(DIR) Post #9rav7WnbJGJBvblp0y by bugaevc@mastodon.technology
2020-02-01T12:41:04Z
1 likes, 0 repeats
@Lofenyy Meson. Yes. Yes.
(DIR) Post #9rawfBwXSQYR2qZCsK by Lofenyy@mastodon.technology
2020-02-01T12:43:28Z
0 likes, 0 repeats
@bugaevc Thanks, but why meson over cmake? Why is it better than autotools?
(DIR) Post #9rawfCH6Dz084cBcvI by bugaevc@mastodon.technology
2020-02-01T12:58:23Z
1 likes, 0 repeats
@Lofenyy watch some talks [1][2] by the Meson author, but basically Meson aims to combine the good parts of autotools and CMake while being faster and making way more things work out of the box, correctly.[1] https://www.youtube.com/watch?v=KPi0AuVpxLI[2] https://youtu.be/SCZLnopmYBM
(DIR) Post #9rcL70sL494KccSeRM by h@sunbeam.city
2020-02-01T19:16:05Z
1 likes, 0 repeats
@Lofenyy In my very subjective personal opinion, and assuming you must absolutely use C++:1. Better than autotools is no autotools at all.2. For medium sized projects CMake or qmake are better, if you must absolutely use something like that.Any modern scripting language can provide automation that is better than autotools for small to medium projects.3. The complexity of autotools is not justified for small projects, and for bigger projects when you need to know exactly what you're doing you don't want the extra complexity of using things like m4. Massive time waster with too many moving parts will eventually break. Guaranteed.4. qmake is licenced as LGPL, CMake is under the New BSD licence. qmake was created by the same makers of the Qt library, Qt and KDE depend on it for their build process. Very thoroughly tested. CMake has been around for 20 years and is well funded.