Port from qmake to cmake

Signed-off-by: Guillaume Clement <gclement@baobob.org>