ibitcy / eo-mobile-boost

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Version

Boost 1.76.0

Easy to use solution for including C++ Boost into your Android (using prefab) and iOS projects/libraries

Android

Before you start

This package made for using it with Gradle's "prefab" dependencies system.

So it's better to start with reading more about it here or here.

How to

  1. Add dependencies to your build.gradle:
repositories {
    maven { url 'https://jitpack.io' }
}
..
dependencies {
    ..
    implementation 'com.github.ibitcy:eo-mobile-boost:1.76.0'
    ..
}
  1. Add this code pieces to your CMakeLists.txt:
find_package(boost REQUIRED CONFIG)
..
target_link_libraries(
        your_library_name
        ..
        boost::boost
        ..
)
  1. Build! πŸŽ‰πŸŽ‰πŸŽ‰

iOS

  1. Add this string to your Podfile
pod 'eo-mobile-boost'
  1. run pod install in your project's directory
  2. Build! πŸŽ‰πŸŽ‰πŸŽ‰

Finally

Now you can use it, including like a dynamic library:

#include <boost/beast.hpp>

About


Languages

Language:C++ 99.8%Language:C 0.2%Language:HTML 0.0%Language:M4 0.0%Language:Python 0.0%Language:Perl 0.0%Language:Ruby 0.0%Language:Batchfile 0.0%Language:CMake 0.0%Language:Shell 0.0%Language:Objective-C 0.0%