#1566 CMake: improve XCode support
I would like to be able to generate XCode project from CMake: it would take away the burden of maintaining the XCode project manually, which is awkward during merges...
For a long time this didn't work at all, as the generated projects didn't open at all, but I identified while working on another project it is simply due to a separator in a list that was not mandatory.
At the moment I won't remove the main XCode project, but it would be a goal if the generated IDE proves to be useful enough (I have some tweaks to make to make it fully work - for instance at the time these lines are written the warnings aren't properly activated in the XCode project)