CMAKE_C_SIZEOF_DATA_PTR is wrong when I build project on msvc2015-tegra-nsight
CMAKE_C_SIZEOF_DATA_PTR
is 4 when I select architecture arm64-v8a
.
IDE: msvc2015
Generator: android tegra-nsight
architecture: arm64-v8a
the toolchain file setting:
SET(CMAKE_SYSTEM_NAME Android)
SET(CMAKE_ANDROID_NDK "path to android-ndk-r12b")
SET(CMAKE_ANDROID_ARCH "arm64-v8a")
SET(CMAKE_ANDROID_API "21")
SET(CMAKE_ANDROID_STL_TYPE "gnustl_static")
I have been checked CMakeDetermineCompilerABI_C.bin
, this really contains string INFO:sizeof_dptr[04]
And I can run this project well on device (Google Pixel Tablet C)