forked from Consti10/RenderingX
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
42 lines (33 loc) · 1.6 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
cmake_minimum_required(VERSION 3.6)
##########################################################################################################
# include the cmake fle that builds the lib
##########################################################################################################
include(${CMAKE_SOURCE_DIR}/../RenderingXCore/RenderingXCore.cmake)
##########################################################################################################
# build the example renderer
##########################################################################################################
set(BASIC_DEPENDENCIES GLPrograms ${log-lib} android log EGL GLESv2 Extensions VRSettings)
#find_package(VideoNative REQUIRED CONFIG)
#find_package(curl REQUIRED CONFIG)
add_library( example-mono
SHARED
src/main/cpp/mono/example_renderer1.cpp
)
target_link_libraries( example-mono ${BASIC_DEPENDENCIES})
add_library( example-1
SHARED
src/main/cpp/stereo/distortion/RendererDistortion.cpp
${CMAKE_SOURCE_DIR}/../RenderingXCore/src/main/cpp/Other/gvr_util/util.cc
)
target_link_libraries( example-1 ${BASIC_DEPENDENCIES} gvr-lib)
add_library( example-2
SHARED
src/main/cpp/stereo/video360Degree/Renderer360Video.cpp
${CMAKE_SOURCE_DIR}/../RenderingXCore/src/main/cpp/Other/gvr_util/util.cc
)
target_link_libraries( example-2 ${BASIC_DEPENDENCIES} gvr-lib)
add_library( example-supersync
SHARED
src/main/cpp/supersync/RendererSuperSync.cpp
)
target_link_libraries( example-supersync ${BASIC_DEPENDENCIES} SuperSync)