Transferring from qtcreator to generic cmake