Adding frameworks to generated xcode projects using cmake
twhiston
Apr 24 2022 | 4:18 pm
Hi, I couldn't see any examples in the 8.2 sdk of how you might add a framework to a cmake generated XCode project and hoped someone could help.
Ideally I want to be able to put something in the CMakeLists.txt which will add frameworks, such as cocoa, to my project. I also need to link them to the binary, and in some instance have a build stage which copies them into the Frameworks destination. Has anyone done this or have enough experience with CMake to explain how to do so?