mirror of
https://github.com/overte-org/overte.git
synced 2025-04-13 21:08:35 +02:00
28 lines
924 B
CMake
28 lines
924 B
CMake
set(TARGET_NAME native-lib)
|
|
setup_hifi_library()
|
|
link_hifi_libraries(shared networking gl gpu gpu-gles image fbx render-utils physics entities octree)
|
|
target_opengl()
|
|
target_bullet()
|
|
|
|
set(INTERFACE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../interface")
|
|
add_subdirectory("${INTERFACE_DIR}" "libraries/interface")
|
|
include_directories("${INTERFACE_DIR}/src")
|
|
|
|
target_link_libraries(native-lib android log m interface)
|
|
|
|
set(GVR_ROOT "${HIFI_ANDROID_PRECOMPILED}/gvr/gvr-android-sdk-1.101.0/")
|
|
target_include_directories(native-lib PRIVATE "${GVR_ROOT}/libraries/headers")
|
|
target_link_libraries(native-lib "${GVR_ROOT}/libraries/libgvr.so")
|
|
|
|
# finished libraries
|
|
# core -> qt
|
|
# networking -> openssl, tbb
|
|
# fbx -> draco
|
|
# physics -> bullet
|
|
# entities-renderer -> polyvox
|
|
|
|
# unfinished libraries
|
|
# image -> nvtt (doesn't look good, but can be made optional)
|
|
# script-engine -> quazip (probably not required for the android client)
|
|
|
|
|