Modify CMake for iOS target

Issue #148 closed
Paolo Brandoli repo owner created an issue

Altought iOS 8 supports dynamic libraries, they are not supported by previous versions of the OS.

Add to CMake a flag that specifies the target OS when compiled on APPLE platform and compile as static library when the target is iOS.

Additionally, add to CMake the definitions to make it easier to generate an xcode solution for iOS (see http://stackoverflow.com/questions/10530849/how-to-generate-the-xcode-project-of-static-libs-for-ios-using-cmake/10713341#10713341)

Comments (10)

  1. Log in to comment