Ejemplo n.º 1
0
def load_profile_darwin_x64_android_armv7_clang_settings(conf):
    """
    Setup all compiler and linker settings shared over all darwin_x64_android_armv7_clang configurations for
    the 'profile' configuration
    """

    # load this first because it finds the compiler
    conf.load_darwin_x64_android_armv7_clang_common_settings()

    # load platform agnostic common settings
    conf.load_profile_cryengine_settings()

    # load the common android and architecture settings before the toolchain specific settings
    # because ANDROID_ARCH needs to be set for the android_<toolchain> settings to init correctly
    conf.load_profile_android_settings()
    conf.load_profile_android_armv7_settings()

    conf.load_profile_clang_settings()
    conf.load_profile_android_clang_settings()
def load_release_darwin_x64_android_armv7_clang_settings(conf):
    """
    Setup all compiler and linker settings shared over all darwin_x64_android_armv7_clang configurations for
    the 'release' configuration
    """

    # load this first because it finds the compiler
    if not conf.load_darwin_x64_android_armv7_clang_common_settings():
        conf.fatal('[ERROR] %s setup failed' % TARGET_PLATFORM)

    # Load addional shared settings
    conf.load_release_cryengine_settings()
    conf.load_release_android_clang_settings()