Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ibitcy/eo-mobile-rapidjson
Boost for android's prefab NDK dependency system
https://github.com/ibitcy/eo-mobile-rapidjson
android apple cmakelists cocoapods cplusplus cpp dependency google ios ndk podfile prefab rapidjson
Last synced: 8 days ago
JSON representation
Boost for android's prefab NDK dependency system
- Host: GitHub
- URL: https://github.com/ibitcy/eo-mobile-rapidjson
- Owner: ibitcy
- Created: 2021-12-09T17:48:20.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-08T23:33:34.000Z (11 months ago)
- Last Synced: 2024-04-12T00:56:08.325Z (7 months ago)
- Topics: android, apple, cmakelists, cocoapods, cplusplus, cpp, dependency, google, ios, ndk, podfile, prefab, rapidjson
- Language: C++
- Homepage:
- Size: 834 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rapidjson 1.1.0
Easy to use solution for including [Rapidjson](https://rapidjson.org) 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](https://developer.android.com/studio/build/dependencies?buildsystem=cmake#native-dependencies-with-agp) or [here](https://github.com/android/ndk-samples/tree/main/prefab).
### How to
1. Add dependencies to your build.gradle:
```gradle
repositories {
maven { url 'https://jitpack.io' }
}
..
dependencies {
..
implementation 'com.github.ibitcy:eo-mobile-rapidjson:1.1.0'
..
}
```
2. Add this code pieces to your CMakeLists.txt:
```cmake
find_package(rapidjson REQUIRED CONFIG)
..
target_link_libraries(
your_library_name
..
rapidjson::rapidjson
..
)
```
3. Build! 🎉🎉🎉# iOS
1. Add this string to your Podfile
```ruby
pod 'eo-mobile-rapidjson'
```
2. run `pod install` in your project's directory
3. Build! 🎉🎉🎉# Finally
Now you can use it, including like a dynamic library:
```C++
#include
```