"Fossies" - the Fresh Open Source Software Archive

Member "cmake-3.14.5/Modules/Platform/Android/abi-armeabi-v7a-GNU.cmake" (31 May 2019, 615 Bytes) of package /linux/misc/cmake-3.14.5.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) CMake source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # <ndk>/build/core/toolchains/arm-linux-androideabi-4.9/setup.mk
    2 string(APPEND _ANDROID_ABI_INIT_CFLAGS
    3   " -march=armv7-a"
    4   )
    5 
    6 if(CMAKE_ANDROID_ARM_MODE)
    7   string(APPEND _ANDROID_ABI_INIT_CFLAGS " -marm")
    8 else()
    9   string(APPEND _ANDROID_ABI_INIT_CFLAGS " -mthumb")
   10 endif()
   11 
   12 if(CMAKE_ANDROID_ARM_NEON)
   13   string(APPEND _ANDROID_ABI_INIT_CFLAGS " -mfpu=neon")
   14 else()
   15   string(APPEND _ANDROID_ABI_INIT_CFLAGS " -mfpu=vfpv3-d16")
   16 endif()
   17 
   18 string(APPEND _ANDROID_ABI_INIT_CFLAGS
   19   " -mfloat-abi=softfp"
   20   )
   21 
   22 string(APPEND _ANDROID_ABI_INIT_LDFLAGS
   23   " -Wl,--fix-cortex-a8"
   24   )
   25 
   26 include(Platform/Android/abi-common-GNU)