Convert from eclipse to cmake