oculus quest running and android compiling and running
This commit is contained in:
@@ -11,8 +11,11 @@ add_library(
|
||||
)
|
||||
|
||||
add_library(vrapi SHARED IMPORTED)
|
||||
set_target_properties(vrapi PROPERTIES IMPORTED_LOCATION
|
||||
C:/ovr_sdk_mobile_1.23/VrApi/Libs/Android/${ANDROID_ABI}/Release/libvrapi.so)
|
||||
set_target_properties(
|
||||
vrapi
|
||||
PROPERTIES IMPORTED_LOCATION
|
||||
${CMAKE_SOURCE_DIR}/../../libs/ovr_mobile/lib/${ANDROID_ABI}/libvrapi.so
|
||||
)
|
||||
|
||||
|
||||
# Specifies a library name, specifies whether the library is STATIC or
|
||||
@@ -47,6 +50,7 @@ add_library(
|
||||
../../libs/poly2tri/poly2tri/sweep/sweep.cc
|
||||
../../libs/fmt/src/format.cc
|
||||
../src/cpp/main.cpp
|
||||
src/main/cpp/oculus_vr.cpp
|
||||
../../src/pch.cpp
|
||||
../../src/util.cpp
|
||||
../../src/rtt.cpp
|
||||
@@ -116,7 +120,8 @@ add_library(
|
||||
)
|
||||
|
||||
target_include_directories(native-lib PRIVATE
|
||||
C:/ovr_sdk_mobile_1.23/VrApi/Include
|
||||
../../libs/ovr_mobile/include
|
||||
src/main/cpp
|
||||
../src/cpp
|
||||
../../src
|
||||
../../libs/glm
|
||||
|
||||
Reference in New Issue
Block a user