-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathopen3d-android.config.cmake
More file actions
28 lines (24 loc) · 922 Bytes
/
open3d-android.config.cmake
File metadata and controls
28 lines (24 loc) · 922 Bytes
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
# http://www.open3d.org/docs/compilation.html
set(BUILD_SHARED_LIBS ON CACHE BOOL "")
set(WITH_OPENMP ON CACHE BOOL "")
set(ENABLE_HEADLESS_RENDERING OFF CACHE BOOL "")
set(BUILD_CPP_EXAMPLES OFF CACHE BOOL "")
set(BUILD_UNIT_TESTS OFF CACHE BOOL "")
# disable python bindings
set(BUILD_PYBIND11 OFF CACHE BOOL "")
set(BUILD_PYTHON_MODULE OFF CACHE BOOL "")
set(BUILD_PYTHON_TUTORIALS OFF CACHE BOOL "")
# build 3rd party dependencies from source
set(BUILD_EIGEN3 ON CACHE BOOL "")
set(BUILD_GLEW ON CACHE BOOL "")
set(BUILD_GLFW ON CACHE BOOL "")
set(BUILD_JPEG ON CACHE BOOL "")
set(BUILD_JSONCPP ON CACHE BOOL "")
set(BUILD_PNG ON CACHE BOOL "")
set(BUILD_TINYFILEDIALOGS ON CACHE BOOL "")
set(BUILD_QHULL ON CACHE BOOL "")
# doesn't work for VS
# see https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html
# instead use:
# cmake --build . --config Release
set(CMAKE_BUILD_TYPE Release CACHE STRING "")