예제 #1
0
def load_profile_win_x64_android_arm_gcc_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_gcc_common_settings()

    # Load addional shared settings
    conf.load_profile_cryengine_settings()
    conf.load_profile_gcc_settings()
예제 #2
0
def load_profile_win_x64_win_x64_vs2010_settings(conf):
    """
    Setup all compiler and linker settings shared over all win_x64_win_x64_vs2010 configurations for
    the 'profile' configuration
    """
    conf.load_win_x64_win_x64_vs2010_common_settings()

    # Load additional shared settings
    conf.load_profile_cryengine_settings()
    conf.load_profile_msvc_settings()
    conf.load_profile_windows_settings()
def load_profile_win_x64_android_arm_gcc_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_gcc_common_settings()
	
	# Load addional shared settings
	conf.load_profile_cryengine_settings()
	conf.load_profile_gcc_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
    """
    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_gcc_settings(conf):
    """
	Setup all compiler and linker settings shared over all linux_x64_linux_x64_gcc configurations for
	the 'profile' configuration
	"""
    v = conf.env
    conf.load_linux_x64_linux_x64_gcc_common_settings()

    # Load addional shared settings
    conf.load_profile_cryengine_settings()
    conf.load_profile_gcc_settings()
    conf.load_profile_linux_settings()
    conf.load_profile_linux_x64_settings()
예제 #7
0
def load_profile_win_x64_android_armv7_gcc_settings(conf):
    """
    Setup all compiler and linker settings shared over all win_x64_android_armv7_gcc configurations for
    the 'profile' configuration
    """

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

    # Load addional shared settings
    conf.load_profile_cryengine_settings()
    conf.load_profile_android_gcc_settings()
def load_profile_linux_x64_linux_x86_gcc_settings(conf):
	"""
	Setup all compiler and linker settings shared over all linux_x64_linux_x86_gcc configurations for
	the 'profile' configuration
	"""
	v = conf.env
	conf.load_linux_x64_linux_x86_gcc_common_settings()
	
	# Load addional shared settings
	conf.load_profile_cryengine_settings()
	conf.load_profile_gcc_settings()
	conf.load_profile_linux_settings()
	conf.load_profile_linux_x86_settings()	
def load_profile_win_x64_win_x64_vs2015_settings(conf):
    """
    Setup all compiler and linker settings shared over all win_x64_win_x64_v140 configurations for
    the 'profile' configuration
    """
    conf.load_profile_msvc_settings()
    conf.load_profile_windows_settings()
    conf.load_win_x64_win_x64_vs2015_common_settings()

    # Load additional shared settings
    conf.load_profile_cryengine_settings()

    conf.register_win_x64_external_ly_identity('vs2015', 'Release')
    conf.register_win_x64_external_ly_metrics('vs2015', 'Release')
예제 #10
0
def load_profile_win_x64_android_arm64_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_arm64_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)
예제 #11
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')
def load_profile_win_x64_win_x86_settings(conf):
	"""
	Setup all compiler and linker settings shared over all win_x64_win_x86 configurations for
	the 'profile' configuration
	"""
	v = conf.env
	conf.load_win_x64_win_x86_common_settings()
	
	# Load addional shared settings
	conf.load_profile_cryengine_settings()	
	conf.load_profile_msvc_settings()	
	conf.load_profile_windows_settings()
	
	# Link againt GPA lib for profiling
	v['INCLUDES'] += [ conf.CreateRootRelativePath('Code/SDKs/GPA/include') ]
def load_profile_win_x64_win_x86_settings(conf):
    """
	Setup all compiler and linker settings shared over all win_x64_win_x86 configurations for
	the 'profile' configuration
	"""
    v = conf.env
    conf.load_win_x64_win_x86_common_settings()

    # Load addional shared settings
    conf.load_profile_cryengine_settings()
    conf.load_profile_msvc_settings()
    conf.load_profile_windows_settings()

    # Link againt GPA lib for profiling
    v['INCLUDES'] += [conf.CreateRootRelativePath('Code/SDKs/GPA/include')]
예제 #14
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()