Easy to use solution for including Simdjson into your Android (using prefab) and iOS projects/libraries
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.
- Add dependencies to your build.gradle:
repositories {
maven { url 'https://jitpack.io' }
}
..
dependencies {
..
implementation 'com.github.ibitcy:eo-mobile-simdjson:3.2.1'
..
}
- Add this code pieces to your CMakeLists.txt:
find_package(simdjson REQUIRED CONFIG)
..
target_link_libraries(
your_library_name
..
simdjson::simdjson
..
)
- Build! 🎉🎉🎉
- Add this string to your Podfile
pod 'eo-mobile-simdjson'
- run
pod install
in your project's directory - Build! 🎉🎉🎉
Now you can use it, including like a dynamic library:
#include <simdjson/simdjson.h>