Set up cmake for building project.