I'm trying to write a Gentoo ebuild for HashLink. This repository has both Makefile and CMakeLists.txt with slight(?) differences, and both of them seems to be ready to use. README describes how to build with make for Linux, but cmake has richer tests and looks better as far as I can see. I don't know which should be used in my ebuild.
Do they have their different intended usages?