def load_profile_darwin_x64_darwin_x64_settings(conf):
    """
    Setup all compiler and linker settings shared over all darwin_x64_darwin_x64 configurations for
    the 'profile' configuration
    """
    conf.load_darwin_x64_darwin_x64_common_settings()

    # Load additional shared settings
    conf.load_profile_cryengine_settings()
    conf.load_profile_clang_settings()
    conf.load_profile_darwin_settings()
def load_profile_darwin_x64_darwin_x64_settings(conf):
	"""
	Setup all compiler and linker settings shared over all darwin_x64_darwin_x64 configurations for
	the 'profile' configuration
	"""
	v = conf.env
	conf.load_darwin_x64_darwin_x64_common_settings()
	
	# Load addional shared settings
	conf.load_profile_cryengine_settings()
	conf.load_profile_clang_settings()
	conf.load_profile_darwin_settings()
def load_profile_linux_x64_linux_x64_clang_settings(conf):
    """
	Setup all compiler and linker settings shared over all linux_x64_linux_x64_clang configurations for
	the 'profile' configuration
	"""
    v = conf.env
    conf.load_linux_x64_linux_x64_clang_common_settings()

    # Load addional shared settings
    conf.load_profile_cryengine_settings()
    conf.load_profile_clang_settings()
    conf.load_profile_linux_settings()
    conf.load_profile_linux_x64_settings()
def load_profile_win_x64_android_arm_settings(conf):
    """Setup all compiler and linker settings shared over all win_x64_arm_linux_androideabi_4_8 configurations for
	the 'profile' configuration
	"""
    v = conf.env
    conf.load_win_x64_android_arm_common_settings()

    # Load addional shared settings
    conf.load_profile_cryengine_settings()
    conf.load_profile_clang_settings()
    #conf.load_profile_linux_settings()
    #conf.load_profile_linux_x64_settings()

    remove_unsupported_clang_options(conf)
Exemplo n.º 5
0
def load_profile_darwin_x64_darwin_x64_settings(conf):
    """
    Setup all compiler and linker settings shared over all darwin_x64_darwin_x64 configurations for
    the 'profile' configuration
    """
    conf.load_darwin_x64_darwin_x64_common_settings()

    # Load additional shared settings
    conf.load_profile_cryengine_settings()
    conf.load_profile_clang_settings()
    conf.load_profile_darwin_settings()

    conf.register_darwin_external_ly_identity('Release')
    conf.register_darwin_external_ly_metrics('Release')
Exemplo n.º 6
0
def load_profile_win_x64_android_armv8_clang_settings(conf):
    """
    Setup all compiler and linker settings shared over all win_x64_android_armv8_clang configurations for
    the 'profile' configuration
    """

    # load this first because it finds the compiler
    conf.load_win_x64_android_armv8_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_armv8_settings()

    conf.load_profile_clang_settings()
    conf.load_profile_android_clang_settings()
def load_profile_win_x64_win_x64_clang_settings(conf):
    """
    Setup all compiler and linker settings shared over all win_x64_win_x64_clang configurations for
    the 'profile' configuration
    """
    conf.load_profile_windows_settings()
    conf.load_win_x64_win_x64_clang_common_settings()

    conf.load_profile_clang_settings()

    conf.env['CXXFLAGS'] += [
        '-O3',
        '-gcodeview',
        '-gno-column-info',
        '-mllvm', '-emit-codeview-ghash-section',
    ]
    conf.env['LINKFLAGS'] += [
        '/debug:GHASH',
    ]

    # Load additional shared settings
    conf.load_profile_cryengine_settings()