I m trying to create an xcode project with cpp-swift interoperability(introduced in xcode15) using cmake xcode generator. I m able to invoke cpp code in swift and vice-versa but when opening the project in xcode IDE, the build setting for ‘C++ and Objective-C Interoperability’ is still set to ‘C/Objective C’ like in image below. I should have been set to ‘C++/Objective-C++’.
I m using the below cmake for this:
#include the directory to access modulemap content
Any help on how this can be achieved?