I use this command line to generate Xcode project for iOS
cmake -GXcode \\ -DENABLE_TESTS=ON \\ -DCMAKE