Skip to content

flatbuffers v23.5.26 version through dependency implementation

Notifications You must be signed in to change notification settings

numandev1/flatbuffers-prefab

Repository files navigation

FlatBuffers Prefab

Version: v23.5.26

Prefab package for FlatBuffers (https://github.com/google/flatbuffers).

Integration

This is a Prefab library, so you will need to enable it in your project (requires Android Gradle Plugin 4.1+):

gradle.properties:

android {
    ...
    buildFeatures {
        ...
        prefab true
    }
}

Add dependency:

repositories {
    mavenCentral()
    maven { url 'https://jitpack.io' }
}

dependencies {
    implementation 'com.github.numandev1:flatbuffers-prefab:e21748fc02'
}

Usage

ndk-build

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

find_package(flatbuffers REQUIRED CONFIG)
target_link_libraries(<your lib> flatbuffers::flatbuffers)

About

flatbuffers v23.5.26 version through dependency implementation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages