#include "custom.xcconfig" // Create sections from the art and oat files. MOE_SECT_OAT = -sectcreate __OATDATA __oatdata "${SRCROOT}/../build/moe/main/xcode/${CONFIGURATION}${EFFECTIVE_PLATFORM_NAME}/${arch}.oat" MOE_SECT_ART = -sectcreate __ARTDATA __artdata "${SRCROOT}/../build/moe/main/xcode/${CONFIGURATION}${EFFECTIVE_PLATFORM_NAME}/${arch}.art" // Set the maximum and initial virtual memory protection for the segments. MOE_SEGPROT[sdk=iphoneos*] = -segprot __OATDATA rx rx -segprot __ARTDATA rw rw MOE_SEGPROT[sdk=iphonesimulator*] = -segprot __OATDATA rwx rx -segprot __ARTDATA rwx rw MOE_SEGPROT[sdk=appletvos*] = -segprot __OATDATA rx rx -segprot __ARTDATA rw rw MOE_SEGPROT[sdk=appletvsimulator*] = -segprot __OATDATA rwx rx -segprot __ARTDATA rwx rw // Set the __PAGEZERO segment size. MOE_PAGEZERO[sdk=iphoneos*] = MOE_PAGEZERO[sdk=iphonesimulator*] = -pagezero_size 4096 MOE_PAGEZERO[sdk=appletvos*] = MOE_PAGEZERO[sdk=appletvsimulator*] = -pagezero_size 4096 // Set frameworks paths. MOE_FRAMEWORK_PATH = ${INTEL_MULTI_OS_ENGINE_HOME}/sdk/${PLATFORM_NAME} MOE_CUSTOM_STATIC_FRAMEWORK_PATH = ../build/libs/static/${PLATFORM_NAME} MOE_CUSTOM_DYNAMIC_FRAMEWORK_PATH = ../build/libs/dynamic/${PLATFORM_NAME} // Collect all MOE linker flags. MOE_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} MOE_OTHER_LDFLAGS = ${MOE_SECT_OAT} ${MOE_SECT_ART} ${MOE_SEGPROT} ${MOE_PAGEZERO} ${MOE_CUSTOM_OTHER_LDFLAGS} -lstdc++ // Disable BitCode. ENABLE_BITCODE = NO