Skip to content

ibitcy/eo-mobile-rapidjson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Version

Rapidjson 1.1.0

Easy to use solution for including Rapidjson 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-rapidjson:1.1.0'
    ..
}
  1. Add this code pieces to your CMakeLists.txt:
find_package(rapidjson REQUIRED CONFIG)
..
target_link_libraries(
        your_library_name
        ..
        rapidjson::rapidjson
        ..
)
  1. Build! 🎉🎉🎉

iOS

  1. Add this string to your Podfile
pod 'eo-mobile-rapidjson'
  1. run pod install in your project's directory
  2. Build! 🎉🎉🎉

Finally

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

#include <rapidjson/document.h>