iOS Multiple targets using Cmake? #2448
-
Hi! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There is one way to support multiple targets from the same Several projects have used this method, one of them being The Lords of Midnight, which has the source code online, so you can review the |
Beta Was this translation helpful? Give feedback.
There is one way to support multiple targets from the same
CMakeLists.txt
and source code, but you would need to generate separate project build files per target.Several projects have used this method, one of them being The Lords of Midnight, which has the source code online, so you can review the
CMakeLists.txt
here to see how they achieve this. There was a discussion regarding how to pass the required parameters to the cmake command in order to set the right parameters for the specific target (such as the bundle ID etc.) here.