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()
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()