Tags: wenlyin/ios-cmake
Tags
Dev (leetal#103) * Added a shared build example for macOS as well * Improve compatibility with more generators (specifically milti-configuration generators like Ninja). * Refined the caching of variables * Lots of fixes. Cannot get the mac catalyst builds to work with the xcode generator, but works on all other tested generators. * Exclude the CMAKE_FIND_ROOT_PATH from macOS builds since it is really only useful when cross-compiling. Also, for other platforms, CMAKE_OSX_SYSROOT_INT is now APPENDED to the CMAKE_FIND_ROOT_PATH to allow users to set own custom paths first for custom find_library behaviours * Refined some xcode settings as well as fixed a few flaws with the macos builds skipping certain user-defined directories when using any of the find_* commands. * Fixes for watchos with latest additions * Added better comment about the symbol visibility * Exported OSX_ARCHITECTURES as a global property and updated the README to reflect the latest changes. Co-authored-by: Alexander Widerberg <[email protected]>
PreviousNext