How to create Universal Swft library with CMake using ninja

I able to create Universal Swift library with CMake+Xcode. But failed to create universal swift library with CMake+ninja.

Is there any way create universal swift library using CMake which is suitable for any build manager like Xcode and Ninja?

How to create Universal Swft library with CMake using ninja
 
 
Q