예제 #1
0
def load_release_darwin_x64_darwin_x64_settings(conf):
    """
    Setup all compiler and linker settings shared over all darwin_x64_darwin_x64 configurations for
    the 'release' configuration
    """
    conf.load_darwin_x64_darwin_x64_common_settings()

    # Load additional shared settings
    conf.load_release_cryengine_settings()
    conf.load_release_clang_settings()
    conf.load_release_darwin_settings()
def load_release_linux_x64_linux_x64_clang_settings(conf):
    """
	Setup all compiler and linker settings shared over all linux_x64_linux_x64_clang configurations for
	the 'release' configuration
	"""
    v = conf.env
    conf.load_linux_x64_linux_x64_clang_common_settings()

    # Load addional shared settings
    conf.load_release_cryengine_settings()
    conf.load_release_clang_settings()
    conf.load_release_linux_settings()
    conf.load_release_linux_x64_settings()
def load_release_linux_x64_linux_x64_clang_settings(conf):
    """
	Setup all compiler and linker settings shared over all linux_x64_linux_x64_clang configurations for
	the 'release' configuration
	"""
    v = conf.env
    conf.load_linux_x64_linux_x64_clang_common_settings()

    # Load addional shared settings
    conf.load_release_cryengine_settings()
    conf.load_release_clang_settings()
    conf.load_release_linux_settings()
    conf.load_release_linux_x64_settings()
def load_release_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 'release' configuration
	"""
    v = conf.env
    conf.load_win_x64_android_arm_common_settings()

    # Load addional shared settings
    conf.load_release_cryengine_settings()
    conf.load_release_clang_settings()
    #conf.load_release_linux_settings()
    #conf.load_release_linux_x64_settings()

    remove_unsupported_clang_options(conf)
def load_release_win_x64_win_x64_clang_settings(conf):
    """
    Setup all compiler and linker settings shared over all win_x64_win_x64_clang configurations for
    the 'release' configuration
    """
    conf.load_release_windows_settings()
    conf.load_win_x64_win_x64_clang_common_settings()

    conf.load_release_clang_settings()

    conf.env['CXXFLAGS'] += ['-O3', '-gline-tables-only']

    # Load additional shared settings
    conf.load_release_cryengine_settings()
예제 #6
0
def load_release_win_x64_android_armv8_clang_settings(conf):
    """
    Setup all compiler and linker settings shared over all win_x64_android_armv8_clang configurations for
    the 'release' 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_release_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_release_android_settings()
    conf.load_release_android_armv8_settings()

    conf.load_release_clang_settings()
    conf.load_release_android_clang_settings()