Cross-compiling for Mobile devices¶
Tip
For complete build instructions see here.
VTK supports mobile devices in its build. These are triggered by a top-level flag which then exposes some settings for a cross-compiled VTK that is controlled from the top-level build.
iOS builds may be enabled by setting the VTK_IOS_BUILD option. The following
settings than affect the iOS build:
IOS_SIMULATOR_ARCHITECTURESIOS_DEVICE_ARCHITECTURESIOS_DEPLOYMENT_TARGETIOS_EMBED_BITCODE
Android builds may be enabled by setting the VTK_ANDROID_BUILD option. The
following settings affect the Android build:
ANDROID_NDKANDROID_NATIVE_API_LEVELANDROID_ARCH_ABI