mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
Added toolchain file for using built-in Android cross-compiling support in CMake 3.7 Added variable CMAKE_ANDROID_STL_TYPE for Android platform build via CMake. Updated documentation about building of occt for UWP and Android via CMake. Eliminated CMake warning CMP0054 for Android platform build.
9 lines
384 B
CMake
9 lines
384 B
CMake
# A toolchain file to configure a Makefile Generators or the Ninja generator to target Android for cross-compiling.
|
|
# Set CMAKE_ANDROID_NDK variable equal to your Android NDK path.
|
|
|
|
set (CMAKE_SYSTEM_NAME Android)
|
|
set (CMAKE_SYSTEM_VERSION 15) # API level
|
|
set (CMAKE_ANDROID_ARCH_ABI armeabi-v7a)
|
|
set (CMAKE_ANDROID_NDK "")
|
|
set (CMAKE_ANDROID_STL_TYPE gnustl_shared)
|