Switch to CMake

Developed with: Samuel Gaist <samuel.gaist@edeltech.ch>