Cmake build macos app. The easy way is just to use XCode.