Converting mchview to native cmake