Lines Matching refs:set
22 set(CMAKE_SYSTEM_NAME Linux)
26 set(CMAKE_CROSSCOMPILING 1)
35 message(STATUS "Warning: ANDROID_NDK_HOST_OS is not set")
37 set(ANDROID_NDK_HOST_OS "windows")
39 set(ANDROID_NDK_HOST_OS "linux-86")
44 set(ANDROID_ABI "armeabi-v7a" CACHE STRING "Android ABI")
45 set(ANDROID_NDK_TARGET "android-${DE_ANDROID_API}")
48 set(DE_OS "DE_OS_ANDROID")
51 set(DE_COMPILER "DE_COMPILER_CLANG")
55 set(DE_ANDROID_API 9)
58 set(COMMON_C_FLAGS "-D__STDC_INT64__")
59 set(COMMON_CXX_FLAGS "${COMMON_C_FLAGS} -frtti -fexceptions")
60 set(COMMON_LINKER_FLAGS "")
61 set(ARM_C_FLAGS "-D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ ")
65 set(DE_CPU "DE_CPU_X86")
66 set(CMAKE_SYSTEM_PROCESSOR i686-android-linux)
68 set(ANDROID_CC_PATH "${ANDROID_NDK_PATH}/toolchains/x86-4.9/prebuilt/${ANDROID_NDK_HOST_OS}/")
69 set(CROSS_COMPILE "${ANDROID_CC_PATH}bin/i686-linux-android-")
70 set(ANDROID_SYSROOT "${ANDROID_NDK_PATH}/platforms/${ANDROID_NDK_TARGET}/arch-x86")
72 set(CMAKE_FIND_ROOT_PATH
77 set(TARGET_C_FLAGS "-march=i686 -msse3 -mstackrealign -mfpmath=sse")
78 set(TARGET_LINKER_FLAGS "")
79 set(LLVM_TRIPLE "i686-none-linux-android")
83 set(DE_CPU "DE_CPU_ARM")
84 set(CMAKE_SYSTEM_PROCESSOR arm-linux-androideabi)
86 …set(ANDROID_CC_PATH "${ANDROID_NDK_PATH}/toolchains/arm-linux-androideabi-4.9/prebuilt/${ANDROID_N…
87 set(CROSS_COMPILE "${ANDROID_CC_PATH}bin/arm-linux-androideabi-")
88 set(ANDROID_SYSROOT "${ANDROID_NDK_PATH}/platforms/${ANDROID_NDK_TARGET}/arch-arm")
91 set(TARGET_C_FLAGS "${ARM_C_FLAGS} -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp")
92 set(TARGET_LINKER_FLAGS "-Wl,--fix-cortex-a8 -march=armv7-a")
93 set(LLVM_TRIPLE "armv7-none-linux-androideabi")
96 set(TARGET_C_FLAGS "${ARM_C_FLAGS} -march=armv5te -mfloat-abi=softfp")
97 set(TARGET_LINKER_FLAGS "-Wl,--fix-cortex-a8 -march=armv5te")
98 set(LLVM_TRIPLE "armv5te-none-linux-androideabi")
101 set(CMAKE_FIND_ROOT_PATH
106 set(DE_CPU "DE_CPU_ARM_64")
107 set(CMAKE_SYSTEM_PROCESSOR aarch64-linux-android)
108 set(CMAKE_SIZEOF_VOID_P 8)
110 …set(ANDROID_CC_PATH "${ANDROID_NDK_PATH}/toolchains/aarch64-linux-android-4.9/prebuilt/${ANDROID_N…
111 set(CROSS_COMPILE "${ANDROID_CC_PATH}bin/aarch64-linux-android-")
112 set(ANDROID_SYSROOT "${ANDROID_NDK_PATH}/platforms/${ANDROID_NDK_TARGET}/arch-arm64")
114 set(CMAKE_FIND_ROOT_PATH
118 set(TARGET_C_FLAGS "-march=armv8-a")
119 set(TARGET_LINKER_FLAGS "-Wl,--fix-cortex-a53-835769 -Wl,--fix-cortex-a53-835769 -march=armv8-a")
120 set(LLVM_TRIPLE "aarch64-none-linux-android")
123 set(TARGET_C_FLAGS "${TARGET_C_FLAGS} -mabi=lp64")
127 set(DE_CPU "DE_CPU_X86_64")
128 set(CMAKE_SYSTEM_PROCESSOR x86_64-linux-android)
129 set(CMAKE_SIZEOF_VOID_P 8)
131 set(CMAKE_LIBRARY_PATH "/usr/lib64")
133 set(ANDROID_CC_PATH "${ANDROID_NDK_PATH}/toolchains/x86_64-4.9/prebuilt/${ANDROID_NDK_HOST_OS}/")
134 set(CROSS_COMPILE "${ANDROID_CC_PATH}bin/x86_64-linux-android-")
135 set(ANDROID_SYSROOT "${ANDROID_NDK_PATH}/platforms/${ANDROID_NDK_TARGET}/arch-x86_64")
137 set(CMAKE_FIND_ROOT_PATH
141 set(LLVM_TRIPLE "x86_64-none-linux-android")
148 set(ANDROID_CXX_LIBRARY "${ANDROID_NDK_PATH}/sources/cxx-stl/llvm-libc++/libs/${ANDROID_ABI}/libc+…
149 set(CXX_INCLUDES "-I${ANDROID_NDK_PATH}/sources/cxx-stl/llvm-libc++/libcxx/include")
150 set(CMAKE_FIND_ROOT_PATH "" ${CMAKE_FIND_ROOT_PATH})
152 set(CMAKE_FIND_ROOT_PATH ${CMAKE_FIND_ROOT_PATH} ${ANDROID_SYSROOT})
169 set(TARGET_C_FLAGS "-mandroid ${TARGET_C_FLAGS}")
172 set(LLVM_PATH "${ANDROID_NDK_PATH}/toolchains/llvm/prebuilt/${ANDROID_NDK_HOST_OS}/")
180 set(CMAKE_AR "${CROSS_COMPILE}ar" CACHE FILEPATH "Archiver")
181 set(CMAKE_RANLIB "${CROSS_COMPILE}ranlib" CACHE FILEPATH "Indexer")
187 set(CMAKE_AR "${CROSS_COMPILE}ar.exe" CACHE FILEPATH "Archiver")
188 set(CMAKE_RANLIB "${CROSS_COMPILE}ranlib.exe" CACHE FILEPATH "Indexer")
194 set(TARGET_C_FLAGS "-target ${LLVM_TRIPLE} -gcc-toolchain ${ANDROID_CC_PATH} ${TARGET_C_FLAGS}")
195 …set(TARGET_LINKER_FLAGS "-target ${LLVM_TRIPLE} -gcc-toolchain ${ANDROID_CC_PATH} ${TARGET_LINKER_…
199 set(CMAKE_SHARED_LIBRARY_C_FLAGS "")
200 set(CMAKE_SHARED_LIBRARY_CXX_FLAGS "")
202 set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
203 set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
204 set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
207 set(CMAKE_C_FLAGS "--sysroot=${ANDROID_SYSROOT} ${COMMON_C_FLAGS} ${TARGET_C_FLAGS}" CACHE STRIN…
208 set(CMAKE_CXX_FLAGS "--sysroot=${ANDROID_SYSROOT} ${COMMON_CXX_FLAGS} ${TARGET_C_FLAGS} ${CXX_IN…
209 set(CMAKE_SHARED_LINKER_FLAGS "-nodefaultlibs -Wl,-shared,-Bsymbolic -Wl,--no-undefined ${COMMON_LI…
210 set(CMAKE_EXE_LINKER_FLAGS "-nodefaultlibs ${COMMON_LINKER_FLAGS} ${TARGET_LINKER_FLAGS}" CACHE ST…