1#include "custom.xcconfig" 2 3// Create sections from the art and oat files. 4MOE_SECT_OAT = -sectcreate __OATDATA __oatdata "${SRCROOT}/../build/moe/main/xcode/${CONFIGURATION}${EFFECTIVE_PLATFORM_NAME}/${arch}.oat" 5MOE_SECT_ART = -sectcreate __ARTDATA __artdata "${SRCROOT}/../build/moe/main/xcode/${CONFIGURATION}${EFFECTIVE_PLATFORM_NAME}/${arch}.art" 6 7// Set the maximum and initial virtual memory protection for the segments. 8 9MOE_SEGPROT[sdk=iphoneos*] = -segprot __OATDATA rx rx -segprot __ARTDATA rw rw 10MOE_SEGPROT[sdk=iphonesimulator*] = -segprot __OATDATA rwx rx -segprot __ARTDATA rwx rw 11MOE_SEGPROT[sdk=appletvos*] = -segprot __OATDATA rx rx -segprot __ARTDATA rw rw 12MOE_SEGPROT[sdk=appletvsimulator*] = -segprot __OATDATA rwx rx -segprot __ARTDATA rwx rw 13 14// Set the __PAGEZERO segment size. 15MOE_PAGEZERO[sdk=iphoneos*] = 16MOE_PAGEZERO[sdk=iphonesimulator*] = -pagezero_size 4096 17MOE_PAGEZERO[sdk=appletvos*] = 18MOE_PAGEZERO[sdk=appletvsimulator*] = -pagezero_size 4096 19 20// Set frameworks paths. 21MOE_FRAMEWORK_PATH = ${INTEL_MULTI_OS_ENGINE_HOME}/sdk/${PLATFORM_NAME} 22 23MOE_CUSTOM_STATIC_FRAMEWORK_PATH = ../build/libs/static/${PLATFORM_NAME} 24MOE_CUSTOM_DYNAMIC_FRAMEWORK_PATH = ../build/libs/dynamic/${PLATFORM_NAME} 25 26// Collect all MOE linker flags. 27MOE_CUSTOM_OTHER_LDFLAGS = ${LIBGDX_NATIVES} -framework Foundation -framework UIKit -L../build/libs/static -L../build/libs/static/${PLATFORM_NAME} -F../build/libs/static -F../build/libs/static/${PLATFORM_NAME} -F../build/libs/dynamic -F../build/libs/dynamic/${PLATFORM_NAME} 28 29MOE_OTHER_LDFLAGS = ${MOE_SECT_OAT} ${MOE_SECT_ART} ${MOE_SEGPROT} ${MOE_PAGEZERO} ${MOE_CUSTOM_OTHER_LDFLAGS} -lstdc++ 30 31// Disable BitCode. 32ENABLE_BITCODE = NO 33