Menu

#289 iOS platform support

v1.1.3
closed
5
2013-12-02
2013-12-02
Maxym
No

Hello again and thanks for accepting my previous patches!
It will really make my life easier supporting log4cplus iOS builds for further versions.

And now I want to share my scripts for iOS platform, in case you are interested.

In the attachment you will find:

  1. iOS.diff, which adds iOS folder in the root. The folder is organized in pretty much the same way as android folder. it contains iOS.cmake toolchain file (https://code.google.com/p/ios-cmake/), custom ConfigureChecks.cmake and readme, which shortly describes how to use the script. In the scripts subfolder you will find two scripts - cmake_ios_armv7.sh and cmake_ios_i386.sh.

  2. Abs-paths-for-custom-ConfigureChecks.diff. It is well known that cmake is bad in relative paths, so I fixed this to be on the safe side.

  3. skip-using-Threads-in-singlethread-version.diff. Single threaded version version is built for iOS. Thus I get a warning which tells that Threads package is not found. So I skip find_package(Threads) if LOG4CPLUS_SINGLE_THREADED version is requested.

Looking forward for any feedback!
Thanks,
Maxym

3 Attachments

Discussion

  • Václav Haisman

    Václav Haisman - 2013-12-02
    • labels: --> patch, ios
    • assigned_to: Václav Zeman
     
  • Václav Haisman

    Václav Haisman - 2013-12-02
    • status: open --> accepted
     
  • Václav Haisman

    Václav Haisman - 2013-12-02
    • labels: patch, ios --> patch, ios, applied
    • status: accepted --> closed
     
  • Václav Haisman

    Václav Haisman - 2013-12-02

    These are now applied to both trunk and 1.1.x.

     
    • laiyierjiangsu

      laiyierjiangsu - 2013-12-31

      hi ,zeman!
      I also encoutered this problem in ios build , how can i get the latest version ?

       
      • Václav Haisman

        Václav Haisman - 2013-12-31

        You can get the latest source from Bazaar repository: https://code.launchpad.net/~log4cplus/log4cplus/1.1.x

        I will try to release source distribution for 1.1.3-RC1 soon.

         

Log in to post a comment.