How Can we able to add frameworks using cmakelist file ? #1090
-
recently I have ported game from cocos2dx to axmol. while building for ios I have to add storekit framework. I need help to add frameworks using camkefile itself instead of adding everytime after running Xcode build command. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Yes, it's possible, and as an example:
Also, if you need an entitlements file to enable certain features and such, then let Xcode generate that file, then add that file to your project folder, and in
As you can see above, you can also add |
Beta Was this translation helpful? Give feedback.
Yes, it's possible, and as an example:
Also, if you need an entitlements file to enable certain features and such, then let Xcode generate that file, then add that file to your project folder, and in
CMakeLists.txt
, addXCODE_ATTRIBUTE_CODE_SIGN_ENTITLEMENTS
to theset_target_properties
, like this:As you can see above, you can also add
XCODE_ATTRIBUTE_ENABLE_IN_AP…