News for hackers. Stuff that matters.
Re:What's in a Build Tool? by Ace17 on Saturday March 05, 2016 @01:16PM (#11230286)
Yes.

Cross-compilation of existing packets has proven to be a nightmare with cmake. I have to override manually CMAKE_C_COMPILER, CMAKE_CXX_COMPILER ...

Have a look at zenbuild, which is a toy-project of mine trying to homogeneize the build interface of many FOSS projects. Each packet get its script (ala PKGBUILD), it can be seen as a list of hacks around the quirks of each project's build system.

Projects using autoconf are a breeze to build: https://github.com/Ace17/zenbuild/blob/master/zen-libxau.sh

But projects using cmake are another story: https://github.com/Ace17/zenbuild/blob/master/zen-x265.sh

There are no comments on this comment yet.