Adding frameworks to generated xcode projects using cmake


    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?

    • Trevor being Trevor's icon
      Trevor being Trevor
      May 05 2023 | 12:26 am
      Hey I ran into a similar issue this week and had a heck of time figuring it out. I am not experienced enough in CMake to give a step by step. However, if you look at the reply to forum post I made, I laid out the links I used to resources I used to get there as well as what worked for my situation.
    • Dax's icon
      Dax's icon
      May 09 2023 | 8:55 am
      Hi all, Not sure but I think this project might help out, I worked on it as well, and got finally a swift/c++ thing working. ( RNBO ) It might nudge you in the right direction