Best practices for a clean Xcode project

Hi, I’m working on building out a CMake configuration from a C++ library that was originally built as an Xcode project. I’m trying to compare the original project with the Xcode project that CMake generates to be sure that I’m getting things correct but there are some discrepancies that I haven’t been able to solve for yet.

I can look at Xcode CMake projects on GitHub for guidance but they can get pretty complex and noisy fast. Is there any good reference for what’s necessary and/or recommended for CMake configurations that are meant to generate Xcode projects?

Thanks!

I don’t know if there are good examples around, but recent discussions and examples added in this issue may be helpful.