Example #1
0
def load_performance_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 'performance' configuration
	"""
    v = conf.env
    conf.load_win_x64_android_arm_gcc_common_settings()

    # Load addional shared settings
    conf.load_performance_cryengine_settings()
    conf.load_performance_gcc_settings()
Example #2
0
def load_performance_win_x64_win_x64_vs2013_settings(conf):
    """
    Setup all compiler and linker settings shared over all win_x64_win_x64_v140 configurations for
    the 'performance' configuration
    """
    conf.load_win_x64_win_x64_vs2013_common_settings()

    # Load additional shared settings
    conf.load_performance_cryengine_settings()
    conf.load_performance_msvc_settings()
    conf.load_performance_windows_settings()
def load_performance_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 'performance' configuration
	"""
	v = conf.env
	conf.load_win_x64_android_arm_gcc_common_settings()
	
	# Load addional shared settings
	conf.load_performance_cryengine_settings()
	conf.load_performance_gcc_settings()
Example #4
0
def load_performance_darwin_x64_darwin_x64_settings(conf):
    """
    Setup all compiler and linker settings shared over all darwin_x64_darwin_x64 configurations for
    the 'performance' configuration
    """
    conf.load_darwin_x64_darwin_x64_common_settings()

    # Load additional shared settings
    conf.load_performance_cryengine_settings()
    conf.load_performance_clang_settings()
    conf.load_performance_darwin_settings()
def load_performance_darwin_x64_darwin_x64_settings(conf):
	"""
	Setup all compiler and linker settings shared over all darwin_x64_darwin_x64 configurations for
	the 'performance' configuration
	"""
	v = conf.env
	conf.load_darwin_x64_darwin_x64_common_settings()
	
	# Load addional shared settings
	conf.load_performance_cryengine_settings()
	conf.load_performance_clang_settings()
	conf.load_performance_darwin_settings()
def load_performance_linux_x64_linux_x64_gcc_settings(conf):
    """
	Setup all compiler and linker settings shared over all linux_x64_linux_x64_gcc configurations for
	the 'performance' configuration
	"""
    v = conf.env
    conf.load_linux_x64_linux_x64_gcc_common_settings()

    # Load addional shared settings
    conf.load_performance_cryengine_settings()
    conf.load_performance_gcc_settings()
    conf.load_performance_linux_settings()
    conf.load_performance_linux_x64_settings()
Example #7
0
def load_performance_win_x64_android_armv7_gcc_settings(conf):
    """
    Setup all compiler and linker settings shared over all win_x64_android_armv7_gcc configurations for
    the 'performance' 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_performance_cryengine_settings()
    conf.load_performance_android_gcc_settings()
def load_performance_linux_x64_linux_x86_gcc_settings(conf):
	"""
	Setup all compiler and linker settings shared over all linux_x64_linux_x86_gcc configurations for
	the 'performance' configuration
	"""
	v = conf.env
	conf.load_linux_x64_linux_x86_gcc_common_settings()
	
	# Load addional shared settings
	conf.load_performance_cryengine_settings()
	conf.load_performance_gcc_settings()
	conf.load_performance_linux_settings()
	conf.load_performance_linux_x86_settings()
def load_performance_win_x64_win_x86_settings(conf):
	"""
	Setup all compiler and linker settings shared over all win_x64_win_x86 configurations for
	the 'performance' configuration
	"""
	v = conf.env
	conf.load_win_x64_win_x86_common_settings()
	
	# Load addional shared settings
	conf.load_performance_cryengine_settings()
	conf.load_performance_msvc_settings()
	conf.load_performance_windows_settings()
	
	# Link againt GPA lib for profiling
	v['INCLUDES'] += [ conf.CreateRootRelativePath('Code/SDKs/GPA/include') ]
def load_performance_win_x64_win_x86_settings(conf):
    """
	Setup all compiler and linker settings shared over all win_x64_win_x86 configurations for
	the 'performance' configuration
	"""
    v = conf.env
    conf.load_win_x64_win_x86_common_settings()

    # Load addional shared settings
    conf.load_performance_cryengine_settings()
    conf.load_performance_msvc_settings()
    conf.load_performance_windows_settings()

    # Link againt GPA lib for profiling
    v['INCLUDES'] += [conf.CreateRootRelativePath('Code/SDKs/GPA/include')]
Example #11
0
def load_performance_win_x64_android_armv8_clang_settings(conf):
    """
    Setup all compiler and linker settings shared over all win_x64_android_armv8_clang configurations for
    the 'performance' 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_performance_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_performance_android_settings()
    conf.load_performance_android_armv8_settings()

    conf.load_performance_clang_settings()
    conf.load_performance_android_clang_settings()
def load_performance_win_x64_win_x64_clang_settings(conf):
    """
    Setup all compiler and linker settings shared over all win_x64_win_x64_clang configurations for
    the 'performance' configuration
    """
    conf.load_performance_windows_settings()
    conf.load_win_x64_win_x64_clang_common_settings()

    conf.load_performance_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_performance_cryengine_settings()