https://github.com/numandev1/flatbuffers-prefab
flatbuffers v23.5.26 version through dependency implementation
https://github.com/numandev1/flatbuffers-prefab
flatbuffers flatbuffers-prefab jitpack jitpack-android prefab
Last synced: about 1 year ago
JSON representation
flatbuffers v23.5.26 version through dependency implementation
- Host: GitHub
- URL: https://github.com/numandev1/flatbuffers-prefab
- Owner: numandev1
- Created: 2023-10-11T21:37:44.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-10-11T22:54:40.000Z (over 2 years ago)
- Last Synced: 2025-02-05T18:50:44.528Z (over 1 year ago)
- Topics: flatbuffers, flatbuffers-prefab, jitpack, jitpack-android, prefab
- Language: C++
- Homepage:
- Size: 164 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FlatBuffers Prefab
#### Version: v23.5.26
Prefab package for FlatBuffers (https://github.com/google/flatbuffers).
## Integration
This is a [Prefab](https://google.github.io/prefab/) library, so you will need to enable it in your project (requires Android Gradle Plugin 4.1+):
gradle.properties:
```gradle
android {
...
buildFeatures {
...
prefab true
}
}
```
Add dependency:
```gradle
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.numandev1:flatbuffers-prefab:e21748fc02'
}
```
## Usage
### ndk-build
```makefile
LOCAL_STATIC_LIBRARIES := flatbuffers
# You can remove this block if you are using NDK r21+.
ifneq ($(call ndk-major-at-least,21),true)
$(call import-add-path,$(NDK_GRADLE_INJECTED_IMPORT_PATH))
endif
$(call import-module,prefab/flatbuffers)
```
### CMake
```cmake
find_package(flatbuffers REQUIRED CONFIG)
target_link_libraries( flatbuffers::flatbuffers)
```