3 ms·
Have you tried CMake?
by atilaneves 11y ago
Have you tried CMake?
- Ace17 11y agoYes. 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 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 https://github.com/Ace17/zenbuild/blob/master/zen-x265.sh
- abiox 11y agoi like the idea of cmake, but i thoroughly despise the pseudo-language. i haven't used it in some time, so perhaps it's improved; but the ergonomics, documentation and developer-friendliness of it was absolutely dreadful.